diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-01-19 01:54:38 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-01-19 01:54:38 +0100 |
commit | f8c8dcc7f36366dc6b59e6741d466e739322d5d1 (patch) | |
tree | 0462f2482c311fc4d3afbf39ef5858eccb1706d8 /src/Blocks/BlockHandler.cpp | |
parent | Merge pull request #557 from xdot/master (diff) | |
download | cuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.tar cuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.tar.gz cuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.tar.bz2 cuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.tar.lz cuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.tar.xz cuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.tar.zst cuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Blocks/BlockHandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Blocks/BlockHandler.cpp b/src/Blocks/BlockHandler.cpp index ff1022e12..b9c0887ce 100644 --- a/src/Blocks/BlockHandler.cpp +++ b/src/Blocks/BlockHandler.cpp @@ -14,6 +14,7 @@ #include "BlockChest.h" #include "BlockCloth.h" #include "BlockCobWeb.h" +#include "BlockCommandBlock.h" #include "BlockComparator.h" #include "BlockCrops.h" #include "BlockDeadBush.h" @@ -116,6 +117,7 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType) case E_BLOCK_CAULDRON: return new cBlockCauldronHandler (a_BlockType); case E_BLOCK_CHEST: return new cBlockChestHandler (a_BlockType); case E_BLOCK_COAL_ORE: return new cBlockOreHandler (a_BlockType); + case E_BLOCK_COMMAND_BLOCK: return new cBlockCommandBlockHandler (a_BlockType); case E_BLOCK_ACTIVE_COMPARATOR: return new cBlockComparatorHandler (a_BlockType); case E_BLOCK_COBBLESTONE: return new cBlockStoneHandler (a_BlockType); case E_BLOCK_COBBLESTONE_STAIRS: return new cBlockStairsHandler (a_BlockType); |