summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockHandler.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-23 20:38:39 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-08-23 20:38:39 +0200
commita671e45cd55adc4ae477225e59afb2969454b1d4 (patch)
tree0fcecc0f7687ccba37482bf6f8b147ece2be15ad /source/Blocks/BlockHandler.cpp
parentFixed lighters replacing blocks (diff)
downloadcuberite-a671e45cd55adc4ae477225e59afb2969454b1d4.tar
cuberite-a671e45cd55adc4ae477225e59afb2969454b1d4.tar.gz
cuberite-a671e45cd55adc4ae477225e59afb2969454b1d4.tar.bz2
cuberite-a671e45cd55adc4ae477225e59afb2969454b1d4.tar.lz
cuberite-a671e45cd55adc4ae477225e59afb2969454b1d4.tar.xz
cuberite-a671e45cd55adc4ae477225e59afb2969454b1d4.tar.zst
cuberite-a671e45cd55adc4ae477225e59afb2969454b1d4.zip
Diffstat (limited to 'source/Blocks/BlockHandler.cpp')
-rw-r--r--source/Blocks/BlockHandler.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/Blocks/BlockHandler.cpp b/source/Blocks/BlockHandler.cpp
index 0fa013058..22efa25f5 100644
--- a/source/Blocks/BlockHandler.cpp
+++ b/source/Blocks/BlockHandler.cpp
@@ -17,6 +17,7 @@
#include "BlockDeadBush.h"
#include "BlockDirt.h"
#include "BlockDoor.h"
+#include "BlockDoubleSlab.h"
#include "BlockDropSpenser.h"
#include "BlockEnderchest.h"
#include "BlockEntity.h"
@@ -117,8 +118,8 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType)
case E_BLOCK_DIAMOND_ORE: return new cBlockOreHandler (a_BlockType);
case E_BLOCK_DIRT: return new cBlockDirtHandler (a_BlockType);
case E_BLOCK_DISPENSER: return new cBlockDropSpenserHandler (a_BlockType);
- case E_BLOCK_DOUBLE_STONE_SLAB: return new cBlockSlabHandler (a_BlockType);
- case E_BLOCK_DOUBLE_WOODEN_SLAB: return new cBlockSlabHandler (a_BlockType);
+ case E_BLOCK_DOUBLE_STONE_SLAB: return new cBlockDoubleSlabHandler (a_BlockType);
+ case E_BLOCK_DOUBLE_WOODEN_SLAB: return new cBlockDoubleSlabHandler (a_BlockType);
case E_BLOCK_DROPPER: return new cBlockDropSpenserHandler (a_BlockType);
case E_BLOCK_EMERALD_ORE: return new cBlockOreHandler (a_BlockType);
case E_BLOCK_ENDER_CHEST: return new cBlockEnderchestHandler (a_BlockType);