summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemHandler.cpp
diff options
context:
space:
mode:
authorSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-12-22 20:43:55 +0100
committerSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-12-22 20:43:55 +0100
commit7a8b50f8d1b7c0034434a7270ac591b04e235404 (patch)
tree44811979429461de49a7653970735821e316b303 /src/Items/ItemHandler.cpp
parentMerge pull request #2796 from cuberite/MojangCert (diff)
parentadd handling of water bottle (diff)
downloadcuberite-7a8b50f8d1b7c0034434a7270ac591b04e235404.tar
cuberite-7a8b50f8d1b7c0034434a7270ac591b04e235404.tar.gz
cuberite-7a8b50f8d1b7c0034434a7270ac591b04e235404.tar.bz2
cuberite-7a8b50f8d1b7c0034434a7270ac591b04e235404.tar.lz
cuberite-7a8b50f8d1b7c0034434a7270ac591b04e235404.tar.xz
cuberite-7a8b50f8d1b7c0034434a7270ac591b04e235404.tar.zst
cuberite-7a8b50f8d1b7c0034434a7270ac591b04e235404.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 5ff3c84bf..5d088dfcd 100644
--- a/src/Items/ItemHandler.cpp
+++ b/src/Items/ItemHandler.cpp
@@ -13,6 +13,7 @@
#include "ItemBed.h"
#include "ItemBigFlower.h"
#include "ItemBoat.h"
+#include "ItemBottle.h"
#include "ItemBow.h"
#include "ItemBrewingStand.h"
#include "ItemBucket.h"
@@ -134,6 +135,7 @@ cItemHandler * cItemHandler::CreateItemHandler(int a_ItemType)
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_GLASS_BOTTLE: return new cItemBottleHandler();
case E_ITEM_GOLDEN_APPLE: return new cItemGoldenAppleHandler();
case E_ITEM_MAP: return new cItemMapHandler();
case E_ITEM_MILK: return new cItemMilkHandler();