diff options
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index 71f7b582f..073d00909 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -678,6 +678,10 @@ void cPlayer::FinishEating(void) { return; } + if (!IsGameModeCreative()) + { + GetInventory().RemoveOneEquippedItem(); + } ItemHandler->OnFoodEaten(m_World, this, &Item); } |