diff options
author | madmaxoft <github@xoft.cz> | 2013-08-30 20:49:33 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-30 20:49:33 +0200 |
commit | 105251a986d741e34561df588582de3ef882d183 (patch) | |
tree | 8f414b24316af0fcfd3174e6c2e825ac53465362 /source/Items/ItemHandler.cpp | |
parent | ProtoProxy: Log individual chunks in MapChunkBulk packet. (diff) | |
parent | AnvilStats: Implemented a cImageComposingCallback class. (diff) | |
download | cuberite-105251a986d741e34561df588582de3ef882d183.tar cuberite-105251a986d741e34561df588582de3ef882d183.tar.gz cuberite-105251a986d741e34561df588582de3ef882d183.tar.bz2 cuberite-105251a986d741e34561df588582de3ef882d183.tar.lz cuberite-105251a986d741e34561df588582de3ef882d183.tar.xz cuberite-105251a986d741e34561df588582de3ef882d183.tar.zst cuberite-105251a986d741e34561df588582de3ef882d183.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Items/ItemHandler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/Items/ItemHandler.cpp b/source/Items/ItemHandler.cpp index c0de4a6ec..2ae193d52 100644 --- a/source/Items/ItemHandler.cpp +++ b/source/Items/ItemHandler.cpp @@ -22,6 +22,7 @@ #include "ItemLighter.h" #include "ItemMinecart.h" #include "ItemPickaxe.h" +#include "ItemThrowable.h" #include "ItemRedstoneDust.h" #include "ItemRedstoneRepeater.h" #include "ItemSapling.h" @@ -88,12 +89,15 @@ cItemHandler *cItemHandler::CreateItemHandler(int a_ItemType) case E_ITEM_BREWING_STAND: return new cItemBrewingStandHandler(a_ItemType); case E_ITEM_CAULDRON: return new cItemCauldronHandler(a_ItemType); case E_ITEM_DYE: return new cItemDyeHandler(a_ItemType); + case E_ITEM_EGG: return new cItemEggHandler(); + case E_ITEM_ENDER_PEARL: return new cItemEnderPearlHandler(); case E_ITEM_FLINT_AND_STEEL: return new cItemLighterHandler(a_ItemType); case E_ITEM_FLOWER_POT: return new cItemFlowerPotHandler(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); case E_ITEM_SIGN: return new cItemSignHandler(a_ItemType); + case E_ITEM_SNOWBALL: return new cItemSnowballHandler(); case E_ITEM_SPAWN_EGG: return new cItemSpawnEggHandler(a_ItemType); case E_ITEM_SUGARCANE: return new cItemSugarcaneHandler(a_ItemType); |