diff options
author | Mattes D <github@xoft.cz> | 2014-08-20 16:23:31 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-20 16:23:31 +0200 |
commit | 5410a36f92c1c94f25552dff4a46b9611f0cb917 (patch) | |
tree | 920627577c09fd3270b08bab3e7a6d3d29d52025 /src/Blocks/BlockTorch.h | |
parent | Player: Silenced a few type conversion warnings. (diff) | |
parent | Removed old classes from the CMakeLists.txt (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Blocks/BlockTorch.h | 4 |
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 |