summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockHandler.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-12 16:41:23 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-12 16:41:23 +0200
commitd07ef85ee310486c07ce9905ef66c1cb31549617 (patch)
treec81fd6ff51bf426240de4d07dec1c66463fd718a /src/Blocks/BlockHandler.cpp
parentDisabled mobspawner itemdrop. (diff)
downloadcuberite-d07ef85ee310486c07ce9905ef66c1cb31549617.tar
cuberite-d07ef85ee310486c07ce9905ef66c1cb31549617.tar.gz
cuberite-d07ef85ee310486c07ce9905ef66c1cb31549617.tar.bz2
cuberite-d07ef85ee310486c07ce9905ef66c1cb31549617.tar.lz
cuberite-d07ef85ee310486c07ce9905ef66c1cb31549617.tar.xz
cuberite-d07ef85ee310486c07ce9905ef66c1cb31549617.tar.zst
cuberite-d07ef85ee310486c07ce9905ef66c1cb31549617.zip
Diffstat (limited to '')
-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 34925a252..8a8bdd3c8 100644
--- a/src/Blocks/BlockHandler.cpp
+++ b/src/Blocks/BlockHandler.cpp
@@ -47,6 +47,7 @@
#include "BlockLilypad.h"
#include "BlockLever.h"
#include "BlockMelon.h"
+#include "BlockMobSpawner.h"
#include "BlockMushroom.h"
#include "BlockMycelium.h"
#include "BlockNetherWart.h"
@@ -244,6 +245,7 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType)
case E_BLOCK_LOG: return new cBlockSidewaysHandler (a_BlockType);
case E_BLOCK_MELON: return new cBlockMelonHandler (a_BlockType);
case E_BLOCK_MELON_STEM: return new cBlockStemsHandler (a_BlockType);
+ case E_BLOCK_MOB_SPAWNER: return new cBlockMobSpawnerHandler (a_BlockType);
case E_BLOCK_MYCELIUM: return new cBlockMyceliumHandler (a_BlockType);
case E_BLOCK_NETHER_BRICK_STAIRS: return new cBlockStairsHandler (a_BlockType);
case E_BLOCK_NETHER_PORTAL: return new cBlockPortalHandler (a_BlockType);