summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockHandler.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-03-16 21:33:51 +0100
committerMattes D <github@xoft.cz>2014-03-16 21:33:51 +0100
commit62629825cee10b655870613ebf9fc3bc3ad34389 (patch)
tree3837ad712183dd75932450ea03e98486a7a4669a /src/Blocks/BlockHandler.cpp
parentDebuggers: Added a test for WE selection API. (diff)
parentChange if-clause in BlockCake.h (diff)
downloadcuberite-62629825cee10b655870613ebf9fc3bc3ad34389.tar
cuberite-62629825cee10b655870613ebf9fc3bc3ad34389.tar.gz
cuberite-62629825cee10b655870613ebf9fc3bc3ad34389.tar.bz2
cuberite-62629825cee10b655870613ebf9fc3bc3ad34389.tar.lz
cuberite-62629825cee10b655870613ebf9fc3bc3ad34389.tar.xz
cuberite-62629825cee10b655870613ebf9fc3bc3ad34389.tar.zst
cuberite-62629825cee10b655870613ebf9fc3bc3ad34389.zip
Diffstat (limited to 'src/Blocks/BlockHandler.cpp')
-rw-r--r--src/Blocks/BlockHandler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Blocks/BlockHandler.cpp b/src/Blocks/BlockHandler.cpp
index aa97b2ca9..89a703de7 100644
--- a/src/Blocks/BlockHandler.cpp
+++ b/src/Blocks/BlockHandler.cpp
@@ -10,6 +10,7 @@
#include "BlockBrewingStand.h"
#include "BlockButton.h"
#include "BlockCactus.h"
+#include "BlockCake.h"
#include "BlockCarpet.h"
#include "BlockCauldron.h"
#include "BlockChest.h"
@@ -91,6 +92,7 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType)
case E_BLOCK_BRICK_STAIRS: return new cBlockStairsHandler (a_BlockType);
case E_BLOCK_BROWN_MUSHROOM: return new cBlockMushroomHandler (a_BlockType);
case E_BLOCK_CACTUS: return new cBlockCactusHandler (a_BlockType);
+ case E_BLOCK_CAKE: return new cBlockCakeHandler (a_BlockType);
case E_BLOCK_CARROTS: return new cBlockCropsHandler (a_BlockType);
case E_BLOCK_CARPET: return new cBlockCarpetHandler (a_BlockType);
case E_BLOCK_CAULDRON: return new cBlockCauldronHandler (a_BlockType);