summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockHandler.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-09-22 21:31:53 +0200
committerMattes D <github@xoft.cz>2013-09-22 21:31:53 +0200
commit63c627f68fbfe7b97fb04f0a40b44423cd12c366 (patch)
tree3f52eb0bc26015e90492d4cabdb3150984fb94b3 /source/Blocks/BlockHandler.cpp
parentAdded a simple valgrind script for easier testing. (diff)
parentRemoved some unneeded includes (diff)
downloadcuberite-63c627f68fbfe7b97fb04f0a40b44423cd12c366.tar
cuberite-63c627f68fbfe7b97fb04f0a40b44423cd12c366.tar.gz
cuberite-63c627f68fbfe7b97fb04f0a40b44423cd12c366.tar.bz2
cuberite-63c627f68fbfe7b97fb04f0a40b44423cd12c366.tar.lz
cuberite-63c627f68fbfe7b97fb04f0a40b44423cd12c366.tar.xz
cuberite-63c627f68fbfe7b97fb04f0a40b44423cd12c366.tar.zst
cuberite-63c627f68fbfe7b97fb04f0a40b44423cd12c366.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);