diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-08-19 22:14:37 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-08-19 22:14:37 +0200 |
commit | b5ffe06f884221f98407910bdd30baf533d84970 (patch) | |
tree | 6f7768641979fa5f57525eb98e8a7e37b71bfe06 /src/Blocks/BlockHandler.cpp | |
parent | Player: Silenced a few type conversion warnings. (diff) | |
download | cuberite-b5ffe06f884221f98407910bdd30baf533d84970.tar cuberite-b5ffe06f884221f98407910bdd30baf533d84970.tar.gz cuberite-b5ffe06f884221f98407910bdd30baf533d84970.tar.bz2 cuberite-b5ffe06f884221f98407910bdd30baf533d84970.tar.lz cuberite-b5ffe06f884221f98407910bdd30baf533d84970.tar.xz cuberite-b5ffe06f884221f98407910bdd30baf533d84970.tar.zst cuberite-b5ffe06f884221f98407910bdd30baf533d84970.zip |
Diffstat (limited to 'src/Blocks/BlockHandler.cpp')
-rw-r--r-- | src/Blocks/BlockHandler.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Blocks/BlockHandler.cpp b/src/Blocks/BlockHandler.cpp index 52f7dd608..028277e4c 100644 --- a/src/Blocks/BlockHandler.cpp +++ b/src/Blocks/BlockHandler.cpp @@ -45,13 +45,11 @@ #include "BlockLadder.h" #include "BlockLeaves.h" #include "BlockLilypad.h" -#include "BlockNewLeaves.h" #include "BlockLever.h" #include "BlockMelon.h" #include "BlockMushroom.h" #include "BlockMycelium.h" #include "BlockNetherWart.h" -#include "BlockNote.h" #include "BlockOre.h" #include "BlockPiston.h" #include "BlockPlanks.h" @@ -251,9 +249,9 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType) case E_BLOCK_NETHER_PORTAL: return new cBlockPortalHandler (a_BlockType); case E_BLOCK_NETHER_WART: return new cBlockNetherWartHandler (a_BlockType); case E_BLOCK_NETHER_QUARTZ_ORE: return new cBlockOreHandler (a_BlockType); - case E_BLOCK_NEW_LEAVES: return new cBlockNewLeavesHandler (a_BlockType); + case E_BLOCK_NEW_LEAVES: return new cBlockLeavesHandler (a_BlockType); case E_BLOCK_NEW_LOG: return new cBlockSidewaysHandler (a_BlockType); - case E_BLOCK_NOTE_BLOCK: return new cBlockNoteHandler (a_BlockType); + case E_BLOCK_NOTE_BLOCK: return new cBlockEntityHandler (a_BlockType); case E_BLOCK_PISTON: return new cBlockPistonHandler (a_BlockType); case E_BLOCK_PISTON_EXTENSION: return new cBlockPistonHeadHandler; case E_BLOCK_PLANKS: return new cBlockPlanksHandler (a_BlockType); |