summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockHandler.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-18 01:01:20 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-18 01:01:20 +0200
commit480991d1ac07c1715bf090a4d81e988a00803cf3 (patch)
tree2349c93e693142ad212ead0fed6033c00819b455 /source/Blocks/BlockHandler.cpp
parentSnow now supports meta values (diff)
downloadcuberite-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 '')
-rw-r--r--source/Blocks/BlockHandler.cpp3
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);