diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-14 14:16:17 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-14 14:16:17 +0200 |
commit | 92e7e5c615efb591210ffd978afa012027f2c84f (patch) | |
tree | 1271b2281ab938f59f3f2d933a6c873fd3f633ba /src/Entities/Player.cpp | |
parent | 1.8: Updated scoreboard packets. (diff) | |
parent | Added new Qt-based biome visualiser. (diff) | |
download | cuberite-92e7e5c615efb591210ffd978afa012027f2c84f.tar cuberite-92e7e5c615efb591210ffd978afa012027f2c84f.tar.gz cuberite-92e7e5c615efb591210ffd978afa012027f2c84f.tar.bz2 cuberite-92e7e5c615efb591210ffd978afa012027f2c84f.tar.lz cuberite-92e7e5c615efb591210ffd978afa012027f2c84f.tar.xz cuberite-92e7e5c615efb591210ffd978afa012027f2c84f.tar.zst cuberite-92e7e5c615efb591210ffd978afa012027f2c84f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index a720d8c35..826e0786f 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -627,15 +627,6 @@ void cPlayer::FinishEating(void) return; } ItemHandler->OnFoodEaten(m_World, this, &Item); - - GetInventory().RemoveOneEquippedItem(); - - // if the food is mushroom soup, return a bowl to the inventory - if (Item.m_ItemType == E_ITEM_MUSHROOM_SOUP) - { - cItem EmptyBowl(E_ITEM_BOWL); - GetInventory().AddItem(EmptyBowl, true, true); - } } |