diff options
author | 12xx12 <12xx12100@gmail.com> | 2020-09-17 16:16:20 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-09-20 02:40:20 +0200 |
commit | f8de67aace4e65ff4c34a1f46f6d8b258b6839aa (patch) | |
tree | 51f60dd89e5abb7bcf14e11f087ef2d49c1fa096 /src/Blocks/BlockHandler.cpp | |
parent | Fixed missing case: in entity damaging crashin the server (#4899) (diff) | |
download | cuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.tar cuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.tar.gz cuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.tar.bz2 cuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.tar.lz cuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.tar.xz cuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.tar.zst cuberite-f8de67aace4e65ff4c34a1f46f6d8b258b6839aa.zip |
Diffstat (limited to 'src/Blocks/BlockHandler.cpp')
-rw-r--r-- | src/Blocks/BlockHandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Blocks/BlockHandler.cpp b/src/Blocks/BlockHandler.cpp index 7938ec065..20ba6edb5 100644 --- a/src/Blocks/BlockHandler.cpp +++ b/src/Blocks/BlockHandler.cpp @@ -27,7 +27,7 @@ #include "BlockDirt.h" #include "BlockDoor.h" #include "BlockDropSpenser.h" -#include "BlockEnchantmentTable.h" +#include "BlockEnchantingTable.h" #include "BlockEnderchest.h" #include "BlockEndPortalFrame.h" #include "BlockEntity.h" @@ -263,7 +263,7 @@ namespace cBlockDropSpenserHandler BlockDropperHandler (E_BLOCK_DROPPER); cBlockHandler BlockEmeraldBlockHandler (E_BLOCK_EMERALD_BLOCK); cBlockOreHandler BlockEmeraldOreHandler (E_BLOCK_EMERALD_ORE); - cBlockEnchantmentTableHandler BlockEnchantmentTableHandler (E_BLOCK_ENCHANTMENT_TABLE); + cBlockEnchantingTableHandler BlockEnchantingTableHandler (E_BLOCK_ENCHANTMENT_TABLE); cBlockHandler BlockEndBricksHandler (E_BLOCK_END_BRICKS); cBlockHandler BlockEndGatewayHandler (E_BLOCK_END_GATEWAY); cBlockEndPortalFrameHandler BlockEndPortalFrameHandler (E_BLOCK_END_PORTAL_FRAME); @@ -735,7 +735,7 @@ cBlockHandler & cBlockHandler::GetBlockHandler(BLOCKTYPE a_BlockType) case E_BLOCK_DROPPER: return BlockDropperHandler; case E_BLOCK_EMERALD_BLOCK: return BlockEmeraldBlockHandler; case E_BLOCK_EMERALD_ORE: return BlockEmeraldOreHandler; - case E_BLOCK_ENCHANTMENT_TABLE: return BlockEnchantmentTableHandler; + case E_BLOCK_ENCHANTMENT_TABLE: return BlockEnchantingTableHandler; case E_BLOCK_ENDER_CHEST: return BlockEnderChestHandler; case E_BLOCK_END_BRICKS: return BlockEndBricksHandler; case E_BLOCK_END_GATEWAY: return BlockEndGatewayHandler; |