diff options
author | Mattes D <github@xoft.cz> | 2014-03-16 21:43:33 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-03-16 21:43:33 +0100 |
commit | dc77cbfdc47016e0cb2a5ba9e4b18a1cb6896805 (patch) | |
tree | 0b599b418d62011ddc5f6ebb2702d7c4f6e1567e /src/Blocks/BlockHandler.cpp | |
parent | Wrong if in BlockLeaves (diff) | |
parent | Fix anvil pickups. (diff) | |
download | cuberite-dc77cbfdc47016e0cb2a5ba9e4b18a1cb6896805.tar cuberite-dc77cbfdc47016e0cb2a5ba9e4b18a1cb6896805.tar.gz cuberite-dc77cbfdc47016e0cb2a5ba9e4b18a1cb6896805.tar.bz2 cuberite-dc77cbfdc47016e0cb2a5ba9e4b18a1cb6896805.tar.lz cuberite-dc77cbfdc47016e0cb2a5ba9e4b18a1cb6896805.tar.xz cuberite-dc77cbfdc47016e0cb2a5ba9e4b18a1cb6896805.tar.zst cuberite-dc77cbfdc47016e0cb2a5ba9e4b18a1cb6896805.zip |
Diffstat (limited to 'src/Blocks/BlockHandler.cpp')
-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 89a703de7..4f74e2f45 100644 --- a/src/Blocks/BlockHandler.cpp +++ b/src/Blocks/BlockHandler.cpp @@ -6,6 +6,7 @@ #include "../Root.h" #include "../Bindings/PluginManager.h" #include "../Chunk.h" +#include "BlockAnvil.h" #include "BlockBed.h" #include "BlockBrewingStand.h" #include "BlockButton.h" @@ -86,6 +87,7 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType) // Block handlers, alphabetically sorted: case E_BLOCK_ACACIA_WOOD_STAIRS: return new cBlockStairsHandler (a_BlockType); case E_BLOCK_ACTIVATOR_RAIL: return new cBlockRailHandler (a_BlockType); + case E_BLOCK_ANVIL: return new cBlockAnvilHandler (a_BlockType); case E_BLOCK_BED: return new cBlockBedHandler (a_BlockType); case E_BLOCK_BIRCH_WOOD_STAIRS: return new cBlockStairsHandler (a_BlockType); case E_BLOCK_BREWING_STAND: return new cBlockBrewingStandHandler (a_BlockType); |