diff options
Diffstat (limited to '')
-rw-r--r-- | src/Items/ItemFood.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Items/ItemFood.h b/src/Items/ItemFood.h index caeca2175..3f1c40d36 100644 --- a/src/Items/ItemFood.h +++ b/src/Items/ItemFood.h @@ -103,6 +103,11 @@ public: return false; } + if (!a_Player->IsGameModeCreative()) + { + a_Player->GetInventory().RemoveOneEquippedItem(); + } + switch (m_ItemType) { case E_ITEM_BEETROOT_SOUP: |