diff options
author | Mattes D <github@xoft.cz> | 2014-09-12 20:43:05 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-09-12 20:43:05 +0200 |
commit | db13405da236b5ba42d36135bf905a30341a425c (patch) | |
tree | 42e2cad05899d63f2471578b20313583ca570a70 /src/Blocks/BlockHandler.cpp | |
parent | Fixed iron ore drop. (diff) | |
parent | Only drop flint or gravel, not both. (diff) | |
download | cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar.gz cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar.bz2 cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar.lz cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar.xz cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar.zst cuberite-db13405da236b5ba42d36135bf905a30341a425c.zip |
Diffstat (limited to 'src/Blocks/BlockHandler.cpp')
-rw-r--r-- | src/Blocks/BlockHandler.cpp | 2 |
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); |