summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemHandler.cpp
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-03-30 16:17:35 +0200
committerworktycho <work.tycho@gmail.com>2014-03-30 16:17:35 +0200
commit5260146f3c5d26c5583a8034eb8b342218a836d7 (patch)
treedf19e59ec8716ac98d0926826c3207348809d750 /src/Items/ItemHandler.cpp
parentcPrefab now uses a struct for block type definition in CharMap. (diff)
parentAnother curly (diff)
downloadcuberite-5260146f3c5d26c5583a8034eb8b342218a836d7.tar
cuberite-5260146f3c5d26c5583a8034eb8b342218a836d7.tar.gz
cuberite-5260146f3c5d26c5583a8034eb8b342218a836d7.tar.bz2
cuberite-5260146f3c5d26c5583a8034eb8b342218a836d7.tar.lz
cuberite-5260146f3c5d26c5583a8034eb8b342218a836d7.tar.xz
cuberite-5260146f3c5d26c5583a8034eb8b342218a836d7.tar.zst
cuberite-5260146f3c5d26c5583a8034eb8b342218a836d7.zip
Diffstat (limited to 'src/Items/ItemHandler.cpp')
-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);