summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockTorch.h
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2014-09-30 12:43:48 +0200
committerJulian Laubstein <julianlaubstein@yahoo.de>2014-09-30 12:43:48 +0200
commitd731ad37b15c735a66de9c92f9125c99ca3aaf50 (patch)
treec51362095cbcc28e54e04519b5b5282ffb3d79d3 /src/Blocks/BlockTorch.h
parentUpdated Core. (diff)
downloadcuberite-d731ad37b15c735a66de9c92f9125c99ca3aaf50.tar
cuberite-d731ad37b15c735a66de9c92f9125c99ca3aaf50.tar.gz
cuberite-d731ad37b15c735a66de9c92f9125c99ca3aaf50.tar.bz2
cuberite-d731ad37b15c735a66de9c92f9125c99ca3aaf50.tar.lz
cuberite-d731ad37b15c735a66de9c92f9125c99ca3aaf50.tar.xz
cuberite-d731ad37b15c735a66de9c92f9125c99ca3aaf50.tar.zst
cuberite-d731ad37b15c735a66de9c92f9125c99ca3aaf50.zip
Diffstat (limited to 'src/Blocks/BlockTorch.h')
-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..3280aef36 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'