summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-06-17 14:03:24 +0200
committerMattes D <github@xoft.cz>2014-06-17 14:03:24 +0200
commitf682646d3a44ebd9826b0cf791d6005654bdd61e (patch)
tree5d1501b842da9357e093155abfeecca5ab643485
parentMerge pull request #1102 from Howaner/PressurePlate (diff)
parentGlass shouldn't drop. (diff)
downloadcuberite-f682646d3a44ebd9826b0cf791d6005654bdd61e.tar
cuberite-f682646d3a44ebd9826b0cf791d6005654bdd61e.tar.gz
cuberite-f682646d3a44ebd9826b0cf791d6005654bdd61e.tar.bz2
cuberite-f682646d3a44ebd9826b0cf791d6005654bdd61e.tar.lz
cuberite-f682646d3a44ebd9826b0cf791d6005654bdd61e.tar.xz
cuberite-f682646d3a44ebd9826b0cf791d6005654bdd61e.tar.zst
cuberite-f682646d3a44ebd9826b0cf791d6005654bdd61e.zip
-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 521de5684..6b08ec9ba 100644
--- a/src/Blocks/BlockHandler.cpp
+++ b/src/Blocks/BlockHandler.cpp
@@ -131,6 +131,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);
@@ -189,6 +190,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);