summaryrefslogtreecommitdiffstats
path: root/source/BlockEntities
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-10 21:48:12 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-10 21:48:12 +0100
commit71abbb2f56c15634cca8615343d9699d0c50724d (patch)
treef56c254125256cc23f481b4ac18c843bd7470566 /source/BlockEntities
parentRemoved cStringMap. (diff)
downloadcuberite-71abbb2f56c15634cca8615343d9699d0c50724d.tar
cuberite-71abbb2f56c15634cca8615343d9699d0c50724d.tar.gz
cuberite-71abbb2f56c15634cca8615343d9699d0c50724d.tar.bz2
cuberite-71abbb2f56c15634cca8615343d9699d0c50724d.tar.lz
cuberite-71abbb2f56c15634cca8615343d9699d0c50724d.tar.xz
cuberite-71abbb2f56c15634cca8615343d9699d0c50724d.tar.zst
cuberite-71abbb2f56c15634cca8615343d9699d0c50724d.zip
Diffstat (limited to 'source/BlockEntities')
-rw-r--r--source/BlockEntities/JukeboxEntity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/BlockEntities/JukeboxEntity.cpp b/source/BlockEntities/JukeboxEntity.cpp
index ec6d13282..d4bbae2b0 100644
--- a/source/BlockEntities/JukeboxEntity.cpp
+++ b/source/BlockEntities/JukeboxEntity.cpp
@@ -68,7 +68,7 @@ void cJukeboxEntity::EjectRecord( void )
{
cItems Drops;
Drops.push_back(cItem(m_Record, 1, 0));
- m_World->SpawnItemPickups(Drops, m_PosX, m_PosY+1, m_PosZ);
+ m_World->SpawnItemPickups(Drops, m_PosX + 0.5, m_PosY + 1, m_PosZ + 0.5, 5);
m_World->BroadcastSoundParticleEffect(1005, m_PosX * 8, m_PosY * 8, m_PosZ * 8, 0);
}