summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockHandler.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-13 01:21:43 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-13 01:21:43 +0200
commit69afc4dbba9ea22ed53756d0ec2b8ff138ddf781 (patch)
tree237871b3c615fa6e1f96b89133d3d6df4e2360dd /src/Blocks/BlockHandler.cpp
parentMerge branch 'master' into 1.8-Protocol (diff)
parentFixed friction being applied whilst airborne (diff)
downloadcuberite-69afc4dbba9ea22ed53756d0ec2b8ff138ddf781.tar
cuberite-69afc4dbba9ea22ed53756d0ec2b8ff138ddf781.tar.gz
cuberite-69afc4dbba9ea22ed53756d0ec2b8ff138ddf781.tar.bz2
cuberite-69afc4dbba9ea22ed53756d0ec2b8ff138ddf781.tar.lz
cuberite-69afc4dbba9ea22ed53756d0ec2b8ff138ddf781.tar.xz
cuberite-69afc4dbba9ea22ed53756d0ec2b8ff138ddf781.tar.zst
cuberite-69afc4dbba9ea22ed53756d0ec2b8ff138ddf781.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 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);