diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-09-18 01:01:20 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-09-18 01:01:20 +0200 |
commit | 480991d1ac07c1715bf090a4d81e988a00803cf3 (patch) | |
tree | 2349c93e693142ad212ead0fed6033c00819b455 /source/Blocks/BlockHandler.cpp | |
parent | Snow now supports meta values (diff) | |
download | cuberite-480991d1ac07c1715bf090a4d81e988a00803cf3.tar cuberite-480991d1ac07c1715bf090a4d81e988a00803cf3.tar.gz cuberite-480991d1ac07c1715bf090a4d81e988a00803cf3.tar.bz2 cuberite-480991d1ac07c1715bf090a4d81e988a00803cf3.tar.lz cuberite-480991d1ac07c1715bf090a4d81e988a00803cf3.tar.xz cuberite-480991d1ac07c1715bf090a4d81e988a00803cf3.tar.zst cuberite-480991d1ac07c1715bf090a4d81e988a00803cf3.zip |
Diffstat (limited to 'source/Blocks/BlockHandler.cpp')
-rw-r--r-- | source/Blocks/BlockHandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/Blocks/BlockHandler.cpp b/source/Blocks/BlockHandler.cpp index 3e97d1e9d..e1cfebb56 100644 --- a/source/Blocks/BlockHandler.cpp +++ b/source/Blocks/BlockHandler.cpp @@ -41,6 +41,7 @@ #include "BlockNote.h" #include "BlockOre.h" #include "BlockPiston.h" +#include "BlockPlanks.h" #include "BlockPumpkin.h" #include "BlockRail.h" #include "BlockRedstone.h" @@ -153,7 +154,7 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType) case E_BLOCK_NOTE_BLOCK: return new cBlockNoteHandler (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 cBlockWoodHandler (a_BlockType); + case E_BLOCK_PLANKS: return new cBlockPlanksHandler (a_BlockType); case E_BLOCK_PUMPKIN: return new cBlockPumpkinHandler (a_BlockType); case E_BLOCK_JACK_O_LANTERN: return new cBlockPumpkinHandler (a_BlockType); case E_BLOCK_PUMPKIN_STEM: return new cBlockStemsHandler (a_BlockType); |