summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-09-30 14:17:27 +0200
committerMattes D <github@xoft.cz>2014-09-30 14:17:27 +0200
commitb75cbdd20bcbc60d89ce870bae63ec9fef0305ed (patch)
tree77eadc101f3adb8fb616c9eef86f687d7382ce35
parentUpdated Core. (diff)
parentIndentation (diff)
downloadcuberite-b75cbdd20bcbc60d89ce870bae63ec9fef0305ed.tar
cuberite-b75cbdd20bcbc60d89ce870bae63ec9fef0305ed.tar.gz
cuberite-b75cbdd20bcbc60d89ce870bae63ec9fef0305ed.tar.bz2
cuberite-b75cbdd20bcbc60d89ce870bae63ec9fef0305ed.tar.lz
cuberite-b75cbdd20bcbc60d89ce870bae63ec9fef0305ed.tar.xz
cuberite-b75cbdd20bcbc60d89ce870bae63ec9fef0305ed.tar.zst
cuberite-b75cbdd20bcbc60d89ce870bae63ec9fef0305ed.zip
-rw-r--r--src/Blocks/BlockTorch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Blocks/BlockTorch.h b/src/Blocks/BlockTorch.h
index eb201dd05..dd252f2a4 100644
--- a/src/Blocks/BlockTorch.h
+++ b/src/Blocks/BlockTorch.h
@@ -165,7 +165,9 @@ public:
(BlockInQuestion == E_BLOCK_MOB_SPAWNER) ||
(BlockInQuestion == E_BLOCK_END_PORTAL_FRAME) || // Actual vanilla behaviour
(BlockInQuestion == E_BLOCK_NETHER_BRICK_FENCE) ||
- (BlockInQuestion == E_BLOCK_COBBLESTONE_WALL)
+ (BlockInQuestion == E_BLOCK_COBBLESTONE_WALL) ||
+ (BlockInQuestion == E_BLOCK_STONE_SLAB) ||
+ (BlockInQuestion == E_BLOCK_WOODEN_SLAB)
)
{
// Torches can be placed on tops of glass and fences, despite them being 'untorcheable'