diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-12 19:34:19 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-12 19:34:19 +0200 |
commit | 96e03fc3ea9dd0a009f8e1f10fa364b2868c5d94 (patch) | |
tree | a7ec870126b1b38ba327e8224a5955b46edd9e72 /src/Entities/Player.cpp | |
parent | Merge branch 'master' into Effects (diff) | |
download | cuberite-96e03fc3ea9dd0a009f8e1f10fa364b2868c5d94.tar cuberite-96e03fc3ea9dd0a009f8e1f10fa364b2868c5d94.tar.gz cuberite-96e03fc3ea9dd0a009f8e1f10fa364b2868c5d94.tar.bz2 cuberite-96e03fc3ea9dd0a009f8e1f10fa364b2868c5d94.tar.lz cuberite-96e03fc3ea9dd0a009f8e1f10fa364b2868c5d94.tar.xz cuberite-96e03fc3ea9dd0a009f8e1f10fa364b2868c5d94.tar.zst cuberite-96e03fc3ea9dd0a009f8e1f10fa364b2868c5d94.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index e1f9c30ea..ea795e346 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -627,13 +627,6 @@ void cPlayer::FinishEating(void) return; } ItemHandler->OnFoodEaten(m_World, this, &Item); - - // if the food is mushroom soup, return a bowl to the inventory - if (Item.m_ItemType == E_ITEM_MUSHROOM_SOUP) - { - GetInventory().RemoveOneEquippedItem(); - GetInventory().AddItem(cItem(E_ITEM_BOWL), true, true); - } } |