summaryrefslogtreecommitdiffstats
path: root/ProtoProxy
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-05 21:49:44 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-05 21:49:44 +0100
commit8758c757bdb845801bea2d722378f6ff1379d056 (patch)
tree2a169cdf1544569d35a10202ed47d07f99b839ce /ProtoProxy
parentFixed random teleporting into the void when leaving minecarts (diff)
downloadcuberite-8758c757bdb845801bea2d722378f6ff1379d056.tar
cuberite-8758c757bdb845801bea2d722378f6ff1379d056.tar.gz
cuberite-8758c757bdb845801bea2d722378f6ff1379d056.tar.bz2
cuberite-8758c757bdb845801bea2d722378f6ff1379d056.tar.lz
cuberite-8758c757bdb845801bea2d722378f6ff1379d056.tar.xz
cuberite-8758c757bdb845801bea2d722378f6ff1379d056.tar.zst
cuberite-8758c757bdb845801bea2d722378f6ff1379d056.zip
Diffstat (limited to '')
-rw-r--r--ProtoProxy/Connection.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/ProtoProxy/Connection.cpp b/ProtoProxy/Connection.cpp
index 0f5963587..f1a6efbe4 100644
--- a/ProtoProxy/Connection.cpp
+++ b/ProtoProxy/Connection.cpp
@@ -956,8 +956,10 @@ bool cConnection::HandleClientPlayerPositionLook(void)
HANDLE_CLIENT_PACKET_READ(ReadBEFloat, float, Pitch);
HANDLE_CLIENT_PACKET_READ(ReadChar, char, IsOnGround);
Log("Received a PACKET_PLAYER_POSITION_LOOK from the client");
-
- // TODO: list packet contents
+ Log(" Pos = {%.03f, %.03f, %.03f}", PosX, PosY, PosZ);
+ Log(" Stance = %.03f", Stance);
+ Log(" Y, P = %.03f, %.03f", Yaw, Pitch);
+ Log(" IsOnGround = %s", IsOnGround ? "true" : "false");
COPY_TO_SERVER();
return true;