summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemHandler.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-12-03 15:12:07 +0100
committerMattes D <github@xoft.cz>2015-12-03 15:12:07 +0100
commitef7c6ea7e7742223a705fe65c5ccff058b936e38 (patch)
tree731f128a18b2912cabb39f602c9db083a4ad8b33 /src/Items/ItemHandler.cpp
parentMerge pull request #2711 from cuberite/FixFreeBSDBuild (diff)
parentMerge mushroom soup into generic food handler (diff)
downloadcuberite-ef7c6ea7e7742223a705fe65c5ccff058b936e38.tar
cuberite-ef7c6ea7e7742223a705fe65c5ccff058b936e38.tar.gz
cuberite-ef7c6ea7e7742223a705fe65c5ccff058b936e38.tar.bz2
cuberite-ef7c6ea7e7742223a705fe65c5ccff058b936e38.tar.lz
cuberite-ef7c6ea7e7742223a705fe65c5ccff058b936e38.tar.xz
cuberite-ef7c6ea7e7742223a705fe65c5ccff058b936e38.tar.zst
cuberite-ef7c6ea7e7742223a705fe65c5ccff058b936e38.zip
Diffstat (limited to 'src/Items/ItemHandler.cpp')
-rw-r--r--src/Items/ItemHandler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Items/ItemHandler.cpp b/src/Items/ItemHandler.cpp
index 580a0b7ee..5ff3c84bf 100644
--- a/src/Items/ItemHandler.cpp
+++ b/src/Items/ItemHandler.cpp
@@ -37,7 +37,6 @@
#include "ItemMilk.h"
#include "ItemMinecart.h"
#include "ItemMobHead.h"
-#include "ItemMushroomSoup.h"
#include "ItemNetherWart.h"
#include "ItemPainting.h"
#include "ItemPickaxe.h"
@@ -138,7 +137,6 @@ cItemHandler * cItemHandler::CreateItemHandler(int a_ItemType)
case E_ITEM_GOLDEN_APPLE: return new cItemGoldenAppleHandler();
case E_ITEM_MAP: return new cItemMapHandler();
case E_ITEM_MILK: return new cItemMilkHandler();
- case E_ITEM_MUSHROOM_SOUP: return new cItemMushroomSoupHandler(a_ItemType);
case E_ITEM_ITEM_FRAME: return new cItemItemFrameHandler(a_ItemType);
case E_ITEM_NETHER_WART: return new cItemNetherWartHandler(a_ItemType);
case E_ITEM_PAINTING: return new cItemPaintingHandler(a_ItemType);
@@ -237,6 +235,7 @@ cItemHandler * cItemHandler::CreateItemHandler(int a_ItemType)
case E_ITEM_COOKIE:
case E_ITEM_GOLDEN_CARROT:
case E_ITEM_MELON_SLICE:
+ case E_ITEM_MUSHROOM_SOUP:
case E_ITEM_POISONOUS_POTATO:
case E_ITEM_PUMPKIN_PIE:
case E_ITEM_RABBIT_STEW: