diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2013-12-19 17:34:03 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2013-12-19 17:34:03 +0100 |
commit | d9c8ae37cf332d4be93b7727f0c1899f40362aef (patch) | |
tree | a061e8486c37c015b099929d8203a365c5a97439 /src/Items/ItemHandler.cpp | |
parent | Implented IsFishing, SetIsFishing and GetFloaterID(). (diff) | |
download | cuberite-d9c8ae37cf332d4be93b7727f0c1899f40362aef.tar cuberite-d9c8ae37cf332d4be93b7727f0c1899f40362aef.tar.gz cuberite-d9c8ae37cf332d4be93b7727f0c1899f40362aef.tar.bz2 cuberite-d9c8ae37cf332d4be93b7727f0c1899f40362aef.tar.lz cuberite-d9c8ae37cf332d4be93b7727f0c1899f40362aef.tar.xz cuberite-d9c8ae37cf332d4be93b7727f0c1899f40362aef.tar.zst cuberite-d9c8ae37cf332d4be93b7727f0c1899f40362aef.zip |
Diffstat (limited to 'src/Items/ItemHandler.cpp')
-rw-r--r-- | src/Items/ItemHandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Items/ItemHandler.cpp b/src/Items/ItemHandler.cpp index 23b9a86d4..250e21dc4 100644 --- a/src/Items/ItemHandler.cpp +++ b/src/Items/ItemHandler.cpp @@ -17,6 +17,7 @@ #include "ItemComparator.h" #include "ItemDoor.h" #include "ItemDye.h" +#include "ItemFishingRod.h" #include "ItemFlowerPot.h" #include "ItemFood.h" #include "ItemHoe.h" @@ -100,6 +101,7 @@ cItemHandler *cItemHandler::CreateItemHandler(int a_ItemType) case E_ITEM_EGG: return new cItemEggHandler(); case E_ITEM_ENDER_PEARL: return new cItemEnderPearlHandler(); case E_ITEM_FIREWORK_ROCKET: return new cItemFireworkHandler(); + 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_NETHER_WART: return new cItemNetherWartHandler(a_ItemType); |