diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-18 00:00:03 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-18 00:00:03 +0100 |
commit | 464ec47eb7bf61ca1e9c2af6559ad2225038d06e (patch) | |
tree | d9c839c7fde5b3a200153e9cae8338d297784622 /src/Items/ItemHandler.cpp | |
parent | Merge pull request #684 from narroo/Bug402 (diff) | |
download | cuberite-464ec47eb7bf61ca1e9c2af6559ad2225038d06e.tar cuberite-464ec47eb7bf61ca1e9c2af6559ad2225038d06e.tar.gz cuberite-464ec47eb7bf61ca1e9c2af6559ad2225038d06e.tar.bz2 cuberite-464ec47eb7bf61ca1e9c2af6559ad2225038d06e.tar.lz cuberite-464ec47eb7bf61ca1e9c2af6559ad2225038d06e.tar.xz cuberite-464ec47eb7bf61ca1e9c2af6559ad2225038d06e.tar.zst cuberite-464ec47eb7bf61ca1e9c2af6559ad2225038d06e.zip |
Diffstat (limited to 'src/Items/ItemHandler.cpp')
-rw-r--r-- | src/Items/ItemHandler.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Items/ItemHandler.cpp b/src/Items/ItemHandler.cpp index 19913ab24..da1cd768d 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" @@ -105,6 +106,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_REDSTONE_DUST: return new cItemRedstoneDustHandler(a_ItemType); case E_ITEM_REDSTONE_REPEATER: return new cItemRedstoneRepeaterHandler(a_ItemType); @@ -342,6 +344,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; |