summaryrefslogtreecommitdiffstats
path: root/source/Simulator/SandSimulator.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-09 20:28:50 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-09-09 20:28:50 +0200
commit30ac3f583849f68ea7a29df5be6c53b3ef1fe26d (patch)
tree636b62f5bc6159b617f7f11af5db7a86d40a237f /source/Simulator/SandSimulator.cpp
parentA few Minecart fixes (diff)
downloadcuberite-30ac3f583849f68ea7a29df5be6c53b3ef1fe26d.tar
cuberite-30ac3f583849f68ea7a29df5be6c53b3ef1fe26d.tar.gz
cuberite-30ac3f583849f68ea7a29df5be6c53b3ef1fe26d.tar.bz2
cuberite-30ac3f583849f68ea7a29df5be6c53b3ef1fe26d.tar.lz
cuberite-30ac3f583849f68ea7a29df5be6c53b3ef1fe26d.tar.xz
cuberite-30ac3f583849f68ea7a29df5be6c53b3ef1fe26d.tar.zst
cuberite-30ac3f583849f68ea7a29df5be6c53b3ef1fe26d.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);
}