summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-12-15 20:50:07 +0100
committermadmaxoft <github@xoft.cz>2013-12-15 20:50:07 +0100
commitc33c8882b3a3f63f5fcf89f0cb63269c6f4bd228 (patch)
treedb3e359661e52b4a4ac319670a37f0470d4dfc34 /src
parentProtoProxy: Fixed description-changing to work with 1.7.4. (diff)
downloadcuberite-c33c8882b3a3f63f5fcf89f0cb63269c6f4bd228.tar
cuberite-c33c8882b3a3f63f5fcf89f0cb63269c6f4bd228.tar.gz
cuberite-c33c8882b3a3f63f5fcf89f0cb63269c6f4bd228.tar.bz2
cuberite-c33c8882b3a3f63f5fcf89f0cb63269c6f4bd228.tar.lz
cuberite-c33c8882b3a3f63f5fcf89f0cb63269c6f4bd228.tar.xz
cuberite-c33c8882b3a3f63f5fcf89f0cb63269c6f4bd228.tar.zst
cuberite-c33c8882b3a3f63f5fcf89f0cb63269c6f4bd228.zip
Diffstat (limited to 'src')
-rw-r--r--src/Protocol/Protocol17x.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp
index edf7d2529..5f939be1e 100644
--- a/src/Protocol/Protocol17x.cpp
+++ b/src/Protocol/Protocol17x.cpp
@@ -562,7 +562,7 @@ void cProtocol172::SendPlayerMoveLook(void)
{
cPacketizer Pkt(*this, 0x08); // Player Position And Look packet
Pkt.WriteDouble(m_Client->GetPlayer()->GetPosX());
- Pkt.WriteDouble(m_Client->GetPlayer()->GetPosY());
+ Pkt.WriteDouble(m_Client->GetPlayer()->GetStance()); // Protocol docs say this is PosY, but #323 says this is eye-pos
Pkt.WriteDouble(m_Client->GetPlayer()->GetPosZ());
Pkt.WriteFloat((float)m_Client->GetPlayer()->GetYaw());
Pkt.WriteFloat((float)m_Client->GetPlayer()->GetPitch());