summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemHandler.cpp
diff options
context:
space:
mode:
authorDamián Imrich <damian@haze.sk>2021-01-22 18:06:26 +0100
committerGitHub <noreply@github.com>2021-01-22 18:06:26 +0100
commit4f3b699b27da11a3641ba3e231bbd4efcfdd9177 (patch)
tree1513d0b4896bf35ec1b2171ba7836c42d84b990d /src/Items/ItemHandler.cpp
parentImplementation of totem of undying behaviour (#5111) (diff)
downloadcuberite-4f3b699b27da11a3641ba3e231bbd4efcfdd9177.tar
cuberite-4f3b699b27da11a3641ba3e231bbd4efcfdd9177.tar.gz
cuberite-4f3b699b27da11a3641ba3e231bbd4efcfdd9177.tar.bz2
cuberite-4f3b699b27da11a3641ba3e231bbd4efcfdd9177.tar.lz
cuberite-4f3b699b27da11a3641ba3e231bbd4efcfdd9177.tar.xz
cuberite-4f3b699b27da11a3641ba3e231bbd4efcfdd9177.tar.zst
cuberite-4f3b699b27da11a3641ba3e231bbd4efcfdd9177.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 fcdbe109b..69eccdefe 100644
--- a/src/Items/ItemHandler.cpp
+++ b/src/Items/ItemHandler.cpp
@@ -24,6 +24,7 @@
#include "ItemDye.h"
#include "ItemEmptyMap.h"
#include "ItemEnchantingTable.h"
+#include "ItemEndCrystal.h"
#include "ItemEyeOfEnder.h"
#include "ItemFishingRod.h"
#include "ItemFood.h"
@@ -137,6 +138,7 @@ cItemHandler * cItemHandler::CreateItemHandler(int a_ItemType)
case E_ITEM_EGG: return new cItemEggHandler();
case E_ITEM_EMPTY_MAP: return new cItemEmptyMapHandler();
case E_ITEM_ENDER_PEARL: return new cItemEnderPearlHandler();
+ case E_ITEM_END_CRYSTAL: return new cItemEndCrystalHandler(a_ItemType);
case E_ITEM_EYE_OF_ENDER: return new cItemEyeOfEnderHandler();
case E_ITEM_FIRE_CHARGE: return new cItemLighterHandler(a_ItemType);
case E_ITEM_FIREWORK_ROCKET: return new cItemFireworkHandler();