summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-09-08 18:36:26 +0200
committermadmaxoft <github@xoft.cz>2013-09-08 18:37:35 +0200
commit2071fb649136dd686d9a8cbb0de8d4293232cb29 (patch)
treeae4012fc3ff25fb4cf179ef4f9c0b8579179a9d2
parentFixed client spawning. (diff)
downloadcuberite-2071fb649136dd686d9a8cbb0de8d4293232cb29.tar
cuberite-2071fb649136dd686d9a8cbb0de8d4293232cb29.tar.gz
cuberite-2071fb649136dd686d9a8cbb0de8d4293232cb29.tar.bz2
cuberite-2071fb649136dd686d9a8cbb0de8d4293232cb29.tar.lz
cuberite-2071fb649136dd686d9a8cbb0de8d4293232cb29.tar.xz
cuberite-2071fb649136dd686d9a8cbb0de8d4293232cb29.tar.zst
cuberite-2071fb649136dd686d9a8cbb0de8d4293232cb29.zip
-rw-r--r--source/WorldStorage/NBTChunkSerializer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/WorldStorage/NBTChunkSerializer.cpp b/source/WorldStorage/NBTChunkSerializer.cpp
index ef6165142..32ac0daea 100644
--- a/source/WorldStorage/NBTChunkSerializer.cpp
+++ b/source/WorldStorage/NBTChunkSerializer.cpp
@@ -360,6 +360,7 @@ void cNBTChunkSerializer::AddProjectileEntity(cProjectileEntity * a_Projectile)
}
case cProjectileEntity::pkFireCharge:
case cProjectileEntity::pkWitherSkull:
+ case cProjectileEntity::pkEnderPearl:
{
m_Writer.BeginList("Motion", TAG_Double);
m_Writer.AddDouble("", a_Projectile->GetSpeedX());