summaryrefslogtreecommitdiffstats
path: root/source/Blocks/BlockHandler.cpp
diff options
context:
space:
mode:
authorluksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-24 10:50:38 +0100
committerluksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-24 10:50:38 +0100
commiteed6f9bb7bd2553a509a7bba7be32436aa96659b (patch)
tree65894528e1dc06d872a6bd916538b221874111c3 /source/Blocks/BlockHandler.cpp
parentByteBuffer: Fixed buffer overrun possibility. (diff)
downloadcuberite-eed6f9bb7bd2553a509a7bba7be32436aa96659b.tar
cuberite-eed6f9bb7bd2553a509a7bba7be32436aa96659b.tar.gz
cuberite-eed6f9bb7bd2553a509a7bba7be32436aa96659b.tar.bz2
cuberite-eed6f9bb7bd2553a509a7bba7be32436aa96659b.tar.lz
cuberite-eed6f9bb7bd2553a509a7bba7be32436aa96659b.tar.xz
cuberite-eed6f9bb7bd2553a509a7bba7be32436aa96659b.tar.zst
cuberite-eed6f9bb7bd2553a509a7bba7be32436aa96659b.zip
Diffstat (limited to 'source/Blocks/BlockHandler.cpp')
-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 848a70a19..88f279ff5 100644
--- a/source/Blocks/BlockHandler.cpp
+++ b/source/Blocks/BlockHandler.cpp
@@ -44,6 +44,7 @@
#include "BlockNote.h"
#include "BlockBed.h"
#include "BlockFarmland.h"
+#include "BlockMycelium.h"
@@ -117,6 +118,7 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType)
case E_BLOCK_LOG: return new cBlockWoodHandler (a_BlockType);
case E_BLOCK_MELON: return new cBlockMelonHandler (a_BlockType);
case E_BLOCK_MELON_STEM: return new cBlockStemsHandler (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_NOTE_BLOCK: return new cBlockNoteHandler (a_BlockType);
case E_BLOCK_PISTON: return new cBlockPistonHandler (a_BlockType);
@@ -132,6 +134,7 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType)
case E_BLOCK_RED_MUSHROOM: return new cBlockMushroomHandler (a_BlockType);
case E_BLOCK_RED_ROSE: return new cBlockFlowerHandler (a_BlockType);
case E_BLOCK_SAND: return new cBlockSandHandler (a_BlockType);
+ case E_ITEM_SANDSTONE_STAIRS: return new cBlockStairsHandler (a_BlockType);
case E_BLOCK_SAPLING: return new cBlockSaplingHandler (a_BlockType);
case E_BLOCK_SIGN_POST: return new cBlockSignHandler (a_BlockType);
case E_BLOCK_SNOW: return new cBlockSnowHandler (a_BlockType);