summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemHandler.cpp
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-12-19 17:34:03 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-12-19 17:34:03 +0100
commitd9c8ae37cf332d4be93b7727f0c1899f40362aef (patch)
treea061e8486c37c015b099929d8203a365c5a97439 /src/Items/ItemHandler.cpp
parentImplented IsFishing, SetIsFishing and GetFloaterID(). (diff)
downloadcuberite-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.cpp2
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);