diff options
author | Damián Imrich <damian@haze.sk> | 2021-01-22 18:06:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-22 18:06:26 +0100 |
commit | 4f3b699b27da11a3641ba3e231bbd4efcfdd9177 (patch) | |
tree | 1513d0b4896bf35ec1b2171ba7836c42d84b990d /src/Items/ItemHandler.cpp | |
parent | Implementation of totem of undying behaviour (#5111) (diff) | |
download | cuberite-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.cpp | 2 |
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(); |