summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-06 20:17:57 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-06 20:17:57 +0100
commitee4d57a0761c6d82a1b449810cc5321d77b1cf9b (patch)
tree11f9056e28d968b01592482167f154f284b3c8a3
parentRegenerated VS2013 files (diff)
downloadcuberite-ee4d57a0761c6d82a1b449810cc5321d77b1cf9b.tar
cuberite-ee4d57a0761c6d82a1b449810cc5321d77b1cf9b.tar.gz
cuberite-ee4d57a0761c6d82a1b449810cc5321d77b1cf9b.tar.bz2
cuberite-ee4d57a0761c6d82a1b449810cc5321d77b1cf9b.tar.lz
cuberite-ee4d57a0761c6d82a1b449810cc5321d77b1cf9b.tar.xz
cuberite-ee4d57a0761c6d82a1b449810cc5321d77b1cf9b.tar.zst
cuberite-ee4d57a0761c6d82a1b449810cc5321d77b1cf9b.zip
Diffstat (limited to '')
-rw-r--r--src/BlockEntities/BlockEntityWithItems.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockEntities/BlockEntityWithItems.h b/src/BlockEntities/BlockEntityWithItems.h
index 0846ae17e..f35412e03 100644
--- a/src/BlockEntities/BlockEntityWithItems.h
+++ b/src/BlockEntities/BlockEntityWithItems.h
@@ -48,7 +48,7 @@ public:
cItems Pickups;
m_Contents.CopyToItems(Pickups);
m_Contents.Clear();
- m_World->SpawnItemPickups(Pickups, m_PosX, m_PosY, m_PosZ);
+ m_World->SpawnItemPickups(Pickups, m_PosX + 0.5, m_PosY + 0.5, m_PosZ + 0.5); // Spawn in centre of block
}
// tolua_begin