diff options
author | Mattes D <github@xoft.cz> | 2014-02-18 23:08:12 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-02-18 23:08:12 +0100 |
commit | 98332c5b7662deb1f14792176414bc4b5f48301b (patch) | |
tree | 974477fd292b4b3dd44d0318bcab77770c890190 /src/Items/ItemHandler.cpp | |
parent | ProtoProxy: ignoring PolarSSL build files. (diff) | |
parent | Properly exported and documented paintings (diff) | |
download | cuberite-98332c5b7662deb1f14792176414bc4b5f48301b.tar cuberite-98332c5b7662deb1f14792176414bc4b5f48301b.tar.gz cuberite-98332c5b7662deb1f14792176414bc4b5f48301b.tar.bz2 cuberite-98332c5b7662deb1f14792176414bc4b5f48301b.tar.lz cuberite-98332c5b7662deb1f14792176414bc4b5f48301b.tar.xz cuberite-98332c5b7662deb1f14792176414bc4b5f48301b.tar.zst cuberite-98332c5b7662deb1f14792176414bc4b5f48301b.zip |
Diffstat (limited to 'src/Items/ItemHandler.cpp')
-rw-r--r-- | src/Items/ItemHandler.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Items/ItemHandler.cpp b/src/Items/ItemHandler.cpp index 19913ab24..5ff74fc2c 100644 --- a/src/Items/ItemHandler.cpp +++ b/src/Items/ItemHandler.cpp @@ -26,6 +26,7 @@ #include "ItemLighter.h" #include "ItemMinecart.h" #include "ItemNetherWart.h" +#include "ItemPainting.h" #include "ItemPickaxe.h" #include "ItemThrowable.h" #include "ItemRedstoneDust.h" @@ -106,6 +107,7 @@ cItemHandler *cItemHandler::CreateItemHandler(int 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_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); case E_ITEM_REDSTONE_REPEATER: return new cItemRedstoneRepeaterHandler(a_ItemType); case E_ITEM_SHEARS: return new cItemShearsHandler(a_ItemType); @@ -305,7 +307,7 @@ char cItemHandler::GetMaxStackSize(void) case E_ITEM_BOWL: return 64; case E_ITEM_BREAD: return 64; case E_ITEM_BREWING_STAND: return 64; - case E_ITEM_BUCKET: return 1; // TODO: change this to 16 when turning compatibility to 1.3 + case E_ITEM_BUCKET: return 16; case E_ITEM_CARROT: return 64; case E_ITEM_CAULDRON: return 64; case E_ITEM_CLAY: return 64; @@ -349,7 +351,7 @@ char cItemHandler::GetMaxStackSize(void) case E_ITEM_MELON_SLICE: return 64; case E_ITEM_NETHER_BRICK: return 64; case E_ITEM_NETHER_WART: return 64; - case E_ITEM_PAINTINGS: return 64; + case E_ITEM_PAINTING: return 64; case E_ITEM_PAPER: return 64; case E_ITEM_POISONOUS_POTATO: return 64; case E_ITEM_POTATO: return 64; |