diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2022-07-16 00:51:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-16 00:51:06 +0200 |
commit | f061840e8386ea76c5d01e8e88a9e378299004b3 (patch) | |
tree | 88bc61ce348ad57197a21e4003c4a9d71c20906e | |
parent | Fix detector rail breaking/replacing blocks (#5429) (diff) | |
download | cuberite-f061840e8386ea76c5d01e8e88a9e378299004b3.tar cuberite-f061840e8386ea76c5d01e8e88a9e378299004b3.tar.gz cuberite-f061840e8386ea76c5d01e8e88a9e378299004b3.tar.bz2 cuberite-f061840e8386ea76c5d01e8e88a9e378299004b3.tar.lz cuberite-f061840e8386ea76c5d01e8e88a9e378299004b3.tar.xz cuberite-f061840e8386ea76c5d01e8e88a9e378299004b3.tar.zst cuberite-f061840e8386ea76c5d01e8e88a9e378299004b3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Items/ItemHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Items/ItemHandler.cpp b/src/Items/ItemHandler.cpp index 70980b786..11b544815 100644 --- a/src/Items/ItemHandler.cpp +++ b/src/Items/ItemHandler.cpp @@ -533,7 +533,7 @@ namespace constexpr cDefaultItemHandler ItemTerracottaHandler (E_BLOCK_TERRACOTTA); constexpr cDefaultItemHandler ItemTippedArrowHandler (E_ITEM_TIPPED_ARROW); constexpr cDefaultItemHandler ItemTNTHandler (E_BLOCK_TNT); - constexpr cDefaultItemHandler ItemTorchBlockHandler (E_BLOCK_TORCH); + constexpr cItemTorchHandler ItemTorchHandler (E_BLOCK_TORCH); constexpr cDefaultItemHandler ItemTotemOfUndyingHandler (E_ITEM_TOTEM_OF_UNDYING); constexpr cItemChestHandler ItemTrappedChestHandler (E_BLOCK_TRAPPED_CHEST); constexpr cDefaultItemHandler ItemTripwireHandler (E_BLOCK_TRIPWIRE); @@ -806,7 +806,7 @@ const cItemHandler & cItemHandler::For(int a_ItemType) case E_BLOCK_TALL_GRASS: return ItemTallGrassHandler; case E_BLOCK_TERRACOTTA: return ItemTerracottaHandler; case E_BLOCK_TNT: return ItemTNTHandler; - case E_BLOCK_TORCH: return ItemTorchBlockHandler; + case E_BLOCK_TORCH: return ItemTorchHandler; case E_BLOCK_TRAPDOOR: return ItemOakTrapdoorHandler; case E_BLOCK_TRAPPED_CHEST: return ItemTrappedChestHandler; case E_BLOCK_TRIPWIRE: return ItemTripwireHandler; |