summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockTorch.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-08-20 16:23:31 +0200
committerMattes D <github@xoft.cz>2014-08-20 16:23:31 +0200
commit5410a36f92c1c94f25552dff4a46b9611f0cb917 (patch)
tree920627577c09fd3270b08bab3e7a6d3d29d52025 /src/Blocks/BlockTorch.h
parentPlayer: Silenced a few type conversion warnings. (diff)
parentRemoved old classes from the CMakeLists.txt (diff)
downloadcuberite-5410a36f92c1c94f25552dff4a46b9611f0cb917.tar
cuberite-5410a36f92c1c94f25552dff4a46b9611f0cb917.tar.gz
cuberite-5410a36f92c1c94f25552dff4a46b9611f0cb917.tar.bz2
cuberite-5410a36f92c1c94f25552dff4a46b9611f0cb917.tar.lz
cuberite-5410a36f92c1c94f25552dff4a46b9611f0cb917.tar.xz
cuberite-5410a36f92c1c94f25552dff4a46b9611f0cb917.tar.zst
cuberite-5410a36f92c1c94f25552dff4a46b9611f0cb917.zip
Diffstat (limited to 'src/Blocks/BlockTorch.h')
-rw-r--r--src/Blocks/BlockTorch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Blocks/BlockTorch.h b/src/Blocks/BlockTorch.h
index c73118870..df5574d5d 100644
--- a/src/Blocks/BlockTorch.h
+++ b/src/Blocks/BlockTorch.h
@@ -126,7 +126,7 @@ public:
(BlockInQuestion == E_BLOCK_NETHER_BRICK_FENCE) ||
(BlockInQuestion == E_BLOCK_COBBLESTONE_WALL)) &&
(Face == BLOCK_FACE_TOP)
- )
+ )
{
return Face;
}
@@ -162,7 +162,7 @@ public:
(BlockInQuestion == E_BLOCK_END_PORTAL_FRAME) || // Actual vanilla behaviour
(BlockInQuestion == E_BLOCK_NETHER_BRICK_FENCE) ||
(BlockInQuestion == E_BLOCK_COBBLESTONE_WALL)
- )
+ )
{
// Torches can be placed on tops of glass and fences, despite them being 'untorcheable'
// No need to check for upright orientation, it was done when the torch was placed