summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-04 22:15:01 +0100
committermadmaxoft <github@xoft.cz>2014-02-04 22:15:01 +0100
commit835a59b8fc4d005a6101546e2f2db33e205bc0e5 (patch)
tree6dc5e2951c3e343e44bb28e9d4bec30afc4372e9
parentMerge pull request #644 from worktycho/warningfixes (diff)
downloadcuberite-835a59b8fc4d005a6101546e2f2db33e205bc0e5.tar
cuberite-835a59b8fc4d005a6101546e2f2db33e205bc0e5.tar.gz
cuberite-835a59b8fc4d005a6101546e2f2db33e205bc0e5.tar.bz2
cuberite-835a59b8fc4d005a6101546e2f2db33e205bc0e5.tar.lz
cuberite-835a59b8fc4d005a6101546e2f2db33e205bc0e5.tar.xz
cuberite-835a59b8fc4d005a6101546e2f2db33e205bc0e5.tar.zst
cuberite-835a59b8fc4d005a6101546e2f2db33e205bc0e5.zip
-rw-r--r--src/Protocol/Protocol17x.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp
index 434055fe4..8168e8314 100644
--- a/src/Protocol/Protocol17x.cpp
+++ b/src/Protocol/Protocol17x.cpp
@@ -1479,7 +1479,7 @@ void cProtocol172::HandlePacketBlockDig(cByteBuffer & a_ByteBuffer)
HANDLE_READ(a_ByteBuffer, ReadBEInt, int, BlockX);
HANDLE_READ(a_ByteBuffer, ReadByte, Byte, BlockY);
HANDLE_READ(a_ByteBuffer, ReadBEInt, int, BlockZ);
- HANDLE_READ(a_ByteBuffer, ReadByte, Byte, Face);
+ HANDLE_READ(a_ByteBuffer, ReadChar, char, Face);
m_Client->HandleLeftClick(BlockX, BlockY, BlockZ, static_cast<eBlockFace>(Face), Status);
}
@@ -1492,7 +1492,7 @@ void cProtocol172::HandlePacketBlockPlace(cByteBuffer & a_ByteBuffer)
HANDLE_READ(a_ByteBuffer, ReadBEInt, int, BlockX);
HANDLE_READ(a_ByteBuffer, ReadByte, Byte, BlockY);
HANDLE_READ(a_ByteBuffer, ReadBEInt, int, BlockZ);
- HANDLE_READ(a_ByteBuffer, ReadByte, Byte, Face);
+ HANDLE_READ(a_ByteBuffer, ReadChar, char, Face);
cItem Item;
ReadItem(a_ByteBuffer, Item);