summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-17 11:11:17 +0100
committermadmaxoft <github@xoft.cz>2014-01-17 11:11:17 +0100
commitaec5200893e09f90cc43b61088b30364800b51c6 (patch)
treea5f60ae183abbd1239f5e6bef84c7f2682de9f60 /src/WorldStorage
parentMerge remote-tracking branch 'origin/customnames' (diff)
downloadcuberite-aec5200893e09f90cc43b61088b30364800b51c6.tar
cuberite-aec5200893e09f90cc43b61088b30364800b51c6.tar.gz
cuberite-aec5200893e09f90cc43b61088b30364800b51c6.tar.bz2
cuberite-aec5200893e09f90cc43b61088b30364800b51c6.tar.lz
cuberite-aec5200893e09f90cc43b61088b30364800b51c6.tar.xz
cuberite-aec5200893e09f90cc43b61088b30364800b51c6.tar.zst
cuberite-aec5200893e09f90cc43b61088b30364800b51c6.zip
Diffstat (limited to 'src/WorldStorage')
-rw-r--r--src/WorldStorage/NBTChunkSerializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp
index f376622e2..e1205f2be 100644
--- a/src/WorldStorage/NBTChunkSerializer.cpp
+++ b/src/WorldStorage/NBTChunkSerializer.cpp
@@ -257,7 +257,7 @@ void cNBTChunkSerializer::AddBasicEntity(cEntity * a_Entity, const AString & a_C
m_Writer.AddDouble("", a_Entity->GetSpeedZ());
m_Writer.EndList();
m_Writer.BeginList("Rotation", TAG_Double);
- m_Writer.AddDouble("", a_Entity->GetRot().x);
+ m_Writer.AddDouble("", a_Entity->GetYaw());
m_Writer.AddDouble("", a_Entity->GetPitch());
m_Writer.EndList();
}