summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemHandler.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-03-28 23:51:30 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-03-28 23:51:30 +0100
commit283a66bcae5f26d2b5038ba0959314a687c4d8b6 (patch)
tree390c60125c07c39f4277e0a86a1e64e36d722f4a /src/Items/ItemHandler.cpp
parentImplemented lilypad placement (diff)
downloadcuberite-283a66bcae5f26d2b5038ba0959314a687c4d8b6.tar
cuberite-283a66bcae5f26d2b5038ba0959314a687c4d8b6.tar.gz
cuberite-283a66bcae5f26d2b5038ba0959314a687c4d8b6.tar.bz2
cuberite-283a66bcae5f26d2b5038ba0959314a687c4d8b6.tar.lz
cuberite-283a66bcae5f26d2b5038ba0959314a687c4d8b6.tar.xz
cuberite-283a66bcae5f26d2b5038ba0959314a687c4d8b6.tar.zst
cuberite-283a66bcae5f26d2b5038ba0959314a687c4d8b6.zip
Diffstat (limited to '')
-rw-r--r--src/Items/ItemHandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Items/ItemHandler.cpp b/src/Items/ItemHandler.cpp
index 454fabdd7..337b3a83c 100644
--- a/src/Items/ItemHandler.cpp
+++ b/src/Items/ItemHandler.cpp
@@ -27,6 +27,7 @@
#include "ItemHoe.h"
#include "ItemLeaves.h"
#include "ItemLighter.h"
+#include "ItemLilypad.h"
#include "ItemMap.h"
#include "ItemMinecart.h"
#include "ItemNetherWart.h"
@@ -115,6 +116,7 @@ cItemHandler *cItemHandler::CreateItemHandler(int a_ItemType)
case E_ITEM_FISHING_ROD: return new cItemFishingRodHandler(a_ItemType);
case E_ITEM_FLINT_AND_STEEL: return new cItemLighterHandler(a_ItemType);
case E_ITEM_FLOWER_POT: return new cItemFlowerPotHandler(a_ItemType);
+ case E_BLOCK_LILY_PAD: return new cItemLilypadHandler(a_ItemType);
case E_ITEM_MAP: return new cItemMapHandler();
case E_ITEM_ITEM_FRAME: return new cItemItemFrameHandler(a_ItemType);
case E_ITEM_NETHER_WART: return new cItemNetherWartHandler(a_ItemType);