1
0
Fork 0

ProtoProxy: Log block change packet details.

This commit is contained in:
Mattes D 2014-12-25 17:15:37 +01:00
parent eddbce64be
commit 9e4528793a
1 changed files with 3 additions and 0 deletions

View File

@ -1392,6 +1392,9 @@ bool cConnection::HandleServerBlockChange(void)
HANDLE_SERVER_PACKET_READ(ReadVarInt, UInt32, BlockType);
HANDLE_SERVER_PACKET_READ(ReadChar, char, BlockMeta);
Log("Received a PACKET_BLOCK_CHANGE from the server");
Log(" Pos = {%d, %d, %d}", BlockX, BlockY, BlockZ);
Log(" BlockType = %d (0x%x", BlockType, BlockType);
Log(" BlockMeta = %d", BlockMeta);
COPY_TO_CLIENT();
return true;
}