summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockHandler.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-06-16 23:05:29 +0200
committerHowaner <franzi.moos@googlemail.com>2014-06-16 23:05:29 +0200
commit7c4b8306aaf02e2aaa8acc70432f6f9636076f3e (patch)
treed8d9c2773238958e958540fa78a4bbd16fe8dac9 /src/Blocks/BlockHandler.cpp
parentMerge pull request #883 from mc-server/CutOffLighting (diff)
downloadcuberite-7c4b8306aaf02e2aaa8acc70432f6f9636076f3e.tar
cuberite-7c4b8306aaf02e2aaa8acc70432f6f9636076f3e.tar.gz
cuberite-7c4b8306aaf02e2aaa8acc70432f6f9636076f3e.tar.bz2
cuberite-7c4b8306aaf02e2aaa8acc70432f6f9636076f3e.tar.lz
cuberite-7c4b8306aaf02e2aaa8acc70432f6f9636076f3e.tar.xz
cuberite-7c4b8306aaf02e2aaa8acc70432f6f9636076f3e.tar.zst
cuberite-7c4b8306aaf02e2aaa8acc70432f6f9636076f3e.zip
Diffstat (limited to '')
-rw-r--r--src/Blocks/BlockHandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Blocks/BlockHandler.cpp b/src/Blocks/BlockHandler.cpp
index 304e35e84..4440e39a9 100644
--- a/src/Blocks/BlockHandler.cpp
+++ b/src/Blocks/BlockHandler.cpp
@@ -130,6 +130,7 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType)
case E_BLOCK_GLOWSTONE: return new cBlockGlowstoneHandler (a_BlockType);
case E_BLOCK_GOLD_ORE: return new cBlockOreHandler (a_BlockType);
case E_BLOCK_GLASS: return new cBlockGlassHandler (a_BlockType);
+ case E_BLOCK_GLASS_PANE: return new cBlockGlassHandler (a_BlockType);
case E_BLOCK_GRASS: return new cBlockDirtHandler (a_BlockType);
case E_BLOCK_GRAVEL: return new cBlockGravelHandler (a_BlockType);
case E_BLOCK_HAY_BALE: return new cBlockSidewaysHandler (a_BlockType);
@@ -186,6 +187,8 @@ cBlockHandler * cBlockHandler::CreateBlockHandler(BLOCKTYPE a_BlockType)
case E_BLOCK_SIGN_POST: return new cBlockSignHandler (a_BlockType);
case E_BLOCK_SNOW: return new cBlockSnowHandler (a_BlockType);
case E_BLOCK_SPRUCE_WOOD_STAIRS: return new cBlockStairsHandler (a_BlockType);
+ case E_BLOCK_STAINED_GLASS: return new cBlockGlassHandler (a_BlockType);
+ case E_BLOCK_STAINED_GLASS_PANE: return new cBlockGlassHandler (a_BlockType);
case E_BLOCK_STATIONARY_LAVA: return new cBlockLavaHandler (a_BlockType);
case E_BLOCK_STATIONARY_WATER: return new cBlockFluidHandler (a_BlockType);
case E_BLOCK_STICKY_PISTON: return new cBlockPistonHandler (a_BlockType);