summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemHandler.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-02-18 23:21:05 +0100
committerMattes D <github@xoft.cz>2014-02-18 23:21:05 +0100
commit1d9b02c95686d0fd90431b5c78999eaf96b5991c (patch)
tree112663e0d7be31401232bd6e3f4f10852776639e /src/Items/ItemHandler.cpp
parentMerge pull request #696 from mc-server/paintings (diff)
parentMerge branch 'master' into itemframes (diff)
downloadcuberite-1d9b02c95686d0fd90431b5c78999eaf96b5991c.tar
cuberite-1d9b02c95686d0fd90431b5c78999eaf96b5991c.tar.gz
cuberite-1d9b02c95686d0fd90431b5c78999eaf96b5991c.tar.bz2
cuberite-1d9b02c95686d0fd90431b5c78999eaf96b5991c.tar.lz
cuberite-1d9b02c95686d0fd90431b5c78999eaf96b5991c.tar.xz
cuberite-1d9b02c95686d0fd90431b5c78999eaf96b5991c.tar.zst
cuberite-1d9b02c95686d0fd90431b5c78999eaf96b5991c.zip
Diffstat (limited to 'src/Items/ItemHandler.cpp')
-rw-r--r--src/Items/ItemHandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Items/ItemHandler.cpp b/src/Items/ItemHandler.cpp
index 5ff74fc2c..945f84b9c 100644
--- a/src/Items/ItemHandler.cpp
+++ b/src/Items/ItemHandler.cpp
@@ -21,6 +21,7 @@
#include "ItemFishingRod.h"
#include "ItemFlowerPot.h"
#include "ItemFood.h"
+#include "ItemItemFrame.h"
#include "ItemHoe.h"
#include "ItemLeaves.h"
#include "ItemLighter.h"
@@ -106,6 +107,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_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);
case E_ITEM_REDSTONE_DUST: return new cItemRedstoneDustHandler(a_ItemType);
@@ -344,6 +346,7 @@ char cItemHandler::GetMaxStackSize(void)
case E_ITEM_GUNPOWDER: return 64;
case E_ITEM_HEAD: return 64;
case E_ITEM_IRON: return 64;
+ case E_ITEM_ITEM_FRAME: return 64;
case E_ITEM_LEATHER: return 64;
case E_ITEM_MAGMA_CREAM: return 64;
case E_ITEM_MAP: return 64;