summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockHandler.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-22 20:34:42 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-22 20:34:42 +0200
commita8a45a4afc615926a705eee482c27ef166f2f9ec (patch)
tree24a63888a42312d8641cc7eaa1d28972d25fdebe /source/Blocks/BlockHandler.cpp
parentRemoved OnDigging for Redstone devices (diff)
downloadcuberite-a8a45a4afc615926a705eee482c27ef166f2f9ec.tar
cuberite-a8a45a4afc615926a705eee482c27ef166f2f9ec.tar.gz
cuberite-a8a45a4afc615926a705eee482c27ef166f2f9ec.tar.bz2
cuberite-a8a45a4afc615926a705eee482c27ef166f2f9ec.tar.lz
cuberite-a8a45a4afc615926a705eee482c27ef166f2f9ec.tar.xz
cuberite-a8a45a4afc615926a705eee482c27ef166f2f9ec.tar.zst
cuberite-a8a45a4afc615926a705eee482c27ef166f2f9ec.zip
Diffstat (limited to '')
-rw-r--r--source/Blocks/BlockHandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Blocks/BlockHandler.cpp b/source/Blocks/BlockHandler.cpp
index b06171119..e59fee8ee 100644
--- a/source/Blocks/BlockHandler.cpp
+++ b/source/Blocks/BlockHandler.cpp
@@ -7,6 +7,7 @@
#include "../PluginManager.h"
#include "BlockBed.h"
#include "BlockBrewingStand.h"
+#include "BlockButton.h"
#include "BlockCactus.h"
#include "BlockCarpet.h"
#include "BlockCauldron.h"
@@ -185,6 +186,7 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType)
case E_BLOCK_STICKY_PISTON: return new cBlockPistonHandler (a_BlockType);
case E_BLOCK_STONE: return new cBlockStoneHandler (a_BlockType);
case E_BLOCK_STONE_BRICK_STAIRS: return new cBlockStairsHandler (a_BlockType);
+ case E_BLOCK_STONE_BUTTON: return new cBlockButtonHandler (a_BlockType);
case E_BLOCK_STONE_SLAB: return new cBlockSlabHandler (a_BlockType);
case E_BLOCK_SUGARCANE: return new cBlockSugarcaneHandler (a_BlockType);
case E_BLOCK_TALL_GRASS: return new cBlockTallGrassHandler (a_BlockType);
@@ -192,6 +194,7 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType)
case E_BLOCK_VINES: return new cBlockVineHandler (a_BlockType);
case E_BLOCK_WALLSIGN: return new cBlockSignHandler (a_BlockType);
case E_BLOCK_WATER: return new cBlockFluidHandler (a_BlockType);
+ case E_BLOCK_WOODEN_BUTTON: return new cBlockButtonHandler (a_BlockType);
case E_BLOCK_WOODEN_DOOR: return new cBlockDoorHandler (a_BlockType);
case E_BLOCK_WOODEN_SLAB: return new cBlockSlabHandler (a_BlockType);
case E_BLOCK_WOODEN_STAIRS: return new cBlockStairsHandler (a_BlockType);