summaryrefslogtreecommitdiffstats
path: root/src/Blocks
diff options
context:
space:
mode:
authormohe2015 <mohe2015@users.noreply.github.com>2016-10-20 19:09:18 +0200
committerMattes D <github@xoft.cz>2016-10-20 19:09:18 +0200
commit502b5ec73222efaadd5ca6dc3e2011b740162b29 (patch)
treec2c7f0124fd602234a3a4dec0c81ab5171e7b4a1 /src/Blocks
parentAPIDump: Added missing syntax to cUrlClient (#3407) (diff)
downloadcuberite-502b5ec73222efaadd5ca6dc3e2011b740162b29.tar
cuberite-502b5ec73222efaadd5ca6dc3e2011b740162b29.tar.gz
cuberite-502b5ec73222efaadd5ca6dc3e2011b740162b29.tar.bz2
cuberite-502b5ec73222efaadd5ca6dc3e2011b740162b29.tar.lz
cuberite-502b5ec73222efaadd5ca6dc3e2011b740162b29.tar.xz
cuberite-502b5ec73222efaadd5ca6dc3e2011b740162b29.tar.zst
cuberite-502b5ec73222efaadd5ca6dc3e2011b740162b29.zip
Diffstat (limited to 'src/Blocks')
-rw-r--r--src/Blocks/BlockPiston.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Blocks/BlockPiston.cpp b/src/Blocks/BlockPiston.cpp
index 3bed01cc1..a6f247150 100644
--- a/src/Blocks/BlockPiston.cpp
+++ b/src/Blocks/BlockPiston.cpp
@@ -133,7 +133,8 @@ void cBlockPistonHandler::PushBlocks(
moveBlockPos.x, moveBlockPos.y, moveBlockPos.z
);
}
- } else
+ }
+ else
{
// Not breakable, just move it
a_World->SetBlock(moveBlockPos.x, moveBlockPos.y, moveBlockPos.z, moveBlock, moveMeta);