diff options
author | Mattes D <github@xoft.cz> | 2014-09-12 20:43:05 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-09-12 20:43:05 +0200 |
commit | db13405da236b5ba42d36135bf905a30341a425c (patch) | |
tree | 42e2cad05899d63f2471578b20313583ca570a70 /src/Blocks/BlockPiston.cpp | |
parent | Fixed iron ore drop. (diff) | |
parent | Only drop flint or gravel, not both. (diff) | |
download | cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar.gz cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar.bz2 cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar.lz cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar.xz cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar.zst cuberite-db13405da236b5ba42d36135bf905a30341a425c.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); } } |