summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-09-29 13:40:29 +0200
committerMattes D <github@xoft.cz>2014-09-29 13:40:29 +0200
commit5d0db6be50c8e5f95315bd0192663ec72aa4cf1f (patch)
tree007a273b632e05410623b9214ab788e3352bbc66 /src
parentMerge pull request #1473 from mc-server/NewStoneGeneration (diff)
parentUpdate BlockTorch.h (diff)
downloadcuberite-5d0db6be50c8e5f95315bd0192663ec72aa4cf1f.tar
cuberite-5d0db6be50c8e5f95315bd0192663ec72aa4cf1f.tar.gz
cuberite-5d0db6be50c8e5f95315bd0192663ec72aa4cf1f.tar.bz2
cuberite-5d0db6be50c8e5f95315bd0192663ec72aa4cf1f.tar.lz
cuberite-5d0db6be50c8e5f95315bd0192663ec72aa4cf1f.tar.xz
cuberite-5d0db6be50c8e5f95315bd0192663ec72aa4cf1f.tar.zst
cuberite-5d0db6be50c8e5f95315bd0192663ec72aa4cf1f.zip
Diffstat (limited to 'src')
-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..0aabcdf67 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)
)
{