summaryrefslogtreecommitdiffstats
path: root/src/Blocks
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2014-09-29 13:12:50 +0200
committerJulian Laubstein <julianlaubstein@yahoo.de>2014-09-29 13:12:50 +0200
commit0b438b5fe8552f72ca04c25592a1ecb8cf3adcbe (patch)
tree999612e9742c81a643b62915a03977cd8814956d /src/Blocks
parentMerge pull request #1473 from mc-server/NewStoneGeneration (diff)
downloadcuberite-0b438b5fe8552f72ca04c25592a1ecb8cf3adcbe.tar
cuberite-0b438b5fe8552f72ca04c25592a1ecb8cf3adcbe.tar.gz
cuberite-0b438b5fe8552f72ca04c25592a1ecb8cf3adcbe.tar.bz2
cuberite-0b438b5fe8552f72ca04c25592a1ecb8cf3adcbe.tar.lz
cuberite-0b438b5fe8552f72ca04c25592a1ecb8cf3adcbe.tar.xz
cuberite-0b438b5fe8552f72ca04c25592a1ecb8cf3adcbe.tar.zst
cuberite-0b438b5fe8552f72ca04c25592a1ecb8cf3adcbe.zip
Diffstat (limited to 'src/Blocks')
-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 fa46b37a8..bdb3e9914 100644
--- a/src/Blocks/BlockTorch.h
+++ b/src/Blocks/BlockTorch.h
@@ -124,7 +124,9 @@ public:
((BlockInQuestion == E_BLOCK_GLASS) ||
(BlockInQuestion == E_BLOCK_FENCE) ||
(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)) &&
(Face == BLOCK_FACE_TOP)
)
{