summaryrefslogtreecommitdiffstats
path: root/source/Simulator/SandSimulator.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-15 20:49:08 +0200
committermadmaxoft <github@xoft.cz>2013-09-15 20:49:08 +0200
commit5cde7d8a29b38360ae36f9e8c5210bee07fce612 (patch)
tree816bbb5c99b9ac3ce64920ccc9e6abd88519c022 /source/Simulator/SandSimulator.cpp
parentMerge branch 'bugfixes' of git://github.com/tigerw/MCServer into tigerw-bugfixes (diff)
parentAdded break (diff)
downloadcuberite-5cde7d8a29b38360ae36f9e8c5210bee07fce612.tar
cuberite-5cde7d8a29b38360ae36f9e8c5210bee07fce612.tar.gz
cuberite-5cde7d8a29b38360ae36f9e8c5210bee07fce612.tar.bz2
cuberite-5cde7d8a29b38360ae36f9e8c5210bee07fce612.tar.lz
cuberite-5cde7d8a29b38360ae36f9e8c5210bee07fce612.tar.xz
cuberite-5cde7d8a29b38360ae36f9e8c5210bee07fce612.tar.zst
cuberite-5cde7d8a29b38360ae36f9e8c5210bee07fce612.zip
Diffstat (limited to 'source/Simulator/SandSimulator.cpp')
-rw-r--r--source/Simulator/SandSimulator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Simulator/SandSimulator.cpp b/source/Simulator/SandSimulator.cpp
index f4f0cdc80..87fb83357 100644
--- a/source/Simulator/SandSimulator.cpp
+++ b/source/Simulator/SandSimulator.cpp
@@ -258,7 +258,7 @@ void cSandSimulator::FinishFalling(
// Create a pickup instead:
cItems Pickups;
Pickups.Add((ENUM_ITEM_ID)a_FallingBlockType, 1, a_FallingBlockMeta);
- a_World->SpawnItemPickups(Pickups, (double)a_BlockX + 0.5, (double)a_BlockY + 0.5, (double)a_BlockZ + 0.5, 0);
+ a_World->SpawnItemPickups(Pickups, (double)a_BlockX + 0.5, (double)a_BlockY + 0.5, (double)a_BlockZ + 0.5);
}