summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-12 19:34:19 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-12 19:34:19 +0200
commit96e03fc3ea9dd0a009f8e1f10fa364b2868c5d94 (patch)
treea7ec870126b1b38ba327e8224a5955b46edd9e72 /src/Entities/Player.cpp
parentMerge branch 'master' into Effects (diff)
downloadcuberite-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.cpp7
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);
- }
}