summaryrefslogtreecommitdiffstats
path: root/source/Items/ItemHandler.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-05 15:45:00 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-04-05 15:45:00 +0200
commitd397dd263f121340ef4633904e3c01419786856c (patch)
treeaddea805f20127475b5a632efdddf1d3adb3d2f1 /source/Items/ItemHandler.cpp
parentFixed personal crafting grid not being tossed on inventory close. (diff)
downloadcuberite-d397dd263f121340ef4633904e3c01419786856c.tar
cuberite-d397dd263f121340ef4633904e3c01419786856c.tar.gz
cuberite-d397dd263f121340ef4633904e3c01419786856c.tar.bz2
cuberite-d397dd263f121340ef4633904e3c01419786856c.tar.lz
cuberite-d397dd263f121340ef4633904e3c01419786856c.tar.xz
cuberite-d397dd263f121340ef4633904e3c01419786856c.tar.zst
cuberite-d397dd263f121340ef4633904e3c01419786856c.zip
Diffstat (limited to '')
-rw-r--r--source/Items/ItemHandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/Items/ItemHandler.cpp b/source/Items/ItemHandler.cpp
index 8411ad688..df3257263 100644
--- a/source/Items/ItemHandler.cpp
+++ b/source/Items/ItemHandler.cpp
@@ -143,8 +143,10 @@ cItemHandler *cItemHandler::CreateItemHandler(int a_ItemType)
return new cItemBucketHandler(a_ItemType);
}
- case E_ITEM_PUMPKIN_SEEDS:
+ case E_ITEM_CARROT:
case E_ITEM_MELON_SEEDS:
+ case E_ITEM_POTATO:
+ case E_ITEM_PUMPKIN_SEEDS:
case E_ITEM_SEEDS:
{
return new cItemSeedsHandler(a_ItemType);