summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemHandler.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-03-16 14:01:22 +0100
committermadmaxoft <github@xoft.cz>2014-03-16 21:38:57 +0100
commitb9fce71bf68768ee86ce128f353fea5533f50732 (patch)
treece0d3f88151971baa3adb5433aa15e072a5d02e3 /src/Items/ItemHandler.cpp
parentFixed InfoReg.lua's handling of multi-level commands. (diff)
downloadcuberite-b9fce71bf68768ee86ce128f353fea5533f50732.tar
cuberite-b9fce71bf68768ee86ce128f353fea5533f50732.tar.gz
cuberite-b9fce71bf68768ee86ce128f353fea5533f50732.tar.bz2
cuberite-b9fce71bf68768ee86ce128f353fea5533f50732.tar.lz
cuberite-b9fce71bf68768ee86ce128f353fea5533f50732.tar.xz
cuberite-b9fce71bf68768ee86ce128f353fea5533f50732.tar.zst
cuberite-b9fce71bf68768ee86ce128f353fea5533f50732.zip
Diffstat (limited to 'src/Items/ItemHandler.cpp')
-rw-r--r--src/Items/ItemHandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Items/ItemHandler.cpp b/src/Items/ItemHandler.cpp
index cd391480c..136bc3096 100644
--- a/src/Items/ItemHandler.cpp
+++ b/src/Items/ItemHandler.cpp
@@ -95,6 +95,7 @@ cItemHandler *cItemHandler::CreateItemHandler(int a_ItemType)
// Single item per handler, alphabetically sorted:
case E_BLOCK_LEAVES: return new cItemLeavesHandler(a_ItemType);
+ case E_BLOCK_NEW_LEAVES: return new cItemLeavesHandler(a_ItemType);
case E_BLOCK_SAPLING: return new cItemSaplingHandler(a_ItemType);
case E_BLOCK_WOOL: return new cItemClothHandler(a_ItemType);
case E_ITEM_BED: return new cItemBedHandler(a_ItemType);