summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemHandler.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-12-19 22:51:21 +0100
committerMattes D <github@xoft.cz>2013-12-19 22:51:21 +0100
commit03ec64aee153a4c217f0794e9310d80eda7629e6 (patch)
treecb5f0e532d5bcfc25324207f0c088507f6b6c6bc /src/Items/ItemHandler.cpp
parentMerge pull request #448 from mc-server/testbranch (diff)
parentFixed #include in Floater.cpp. (diff)
downloadcuberite-03ec64aee153a4c217f0794e9310d80eda7629e6.tar
cuberite-03ec64aee153a4c217f0794e9310d80eda7629e6.tar.gz
cuberite-03ec64aee153a4c217f0794e9310d80eda7629e6.tar.bz2
cuberite-03ec64aee153a4c217f0794e9310d80eda7629e6.tar.lz
cuberite-03ec64aee153a4c217f0794e9310d80eda7629e6.tar.xz
cuberite-03ec64aee153a4c217f0794e9310d80eda7629e6.tar.zst
cuberite-03ec64aee153a4c217f0794e9310d80eda7629e6.zip
Diffstat (limited to '')
-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);