1
0

Fixed pickups spawning for BlockEntities

This commit is contained in:
Tiger Wang 2013-12-06 19:17:57 +00:00
parent 127d021cde
commit ee4d57a076

View File

@ -48,7 +48,7 @@ public:
cItems Pickups; cItems Pickups;
m_Contents.CopyToItems(Pickups); m_Contents.CopyToItems(Pickups);
m_Contents.Clear(); 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 // tolua_begin