diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-12 19:07:20 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-12 19:07:20 +0200 |
commit | fcf558173e3bb9b2213c610815f82088e7541a1e (patch) | |
tree | e5a4d860acbd2dd5c8cff6adc33ff80ba5c663a7 /src/Blocks/BlockPiston.cpp | |
parent | Only place farmland if no block is upper than dirt/grass. (diff) | |
download | cuberite-fcf558173e3bb9b2213c610815f82088e7541a1e.tar cuberite-fcf558173e3bb9b2213c610815f82088e7541a1e.tar.gz cuberite-fcf558173e3bb9b2213c610815f82088e7541a1e.tar.bz2 cuberite-fcf558173e3bb9b2213c610815f82088e7541a1e.tar.lz cuberite-fcf558173e3bb9b2213c610815f82088e7541a1e.tar.xz cuberite-fcf558173e3bb9b2213c610815f82088e7541a1e.tar.zst cuberite-fcf558173e3bb9b2213c610815f82088e7541a1e.zip |
Diffstat (limited to 'src/Blocks/BlockPiston.cpp')
-rw-r--r-- | src/Blocks/BlockPiston.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Blocks/BlockPiston.cpp b/src/Blocks/BlockPiston.cpp index 164967621..0169fb266 100644 --- a/src/Blocks/BlockPiston.cpp +++ b/src/Blocks/BlockPiston.cpp @@ -52,7 +52,7 @@ void cBlockPistonHandler::OnDestroyed(cChunkInterface & a_ChunkInterface, cWorld if (a_ChunkInterface.GetBlock(newX, newY, newZ) == E_BLOCK_PISTON_EXTENSION) { - a_ChunkInterface.SetBlock(a_WorldInterface, newX, newY, newZ, E_BLOCK_AIR, 0); + a_ChunkInterface.SetBlock(newX, newY, newZ, E_BLOCK_AIR, 0); } } |