summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-03-21 16:11:57 +0100
committerMattes D <github@xoft.cz>2015-03-21 16:11:57 +0100
commitc3c29577a52a2e820cd389b88d52119e8136a7d8 (patch)
treef003f4317ac5eab11942a48c619ba1679986d70b /src/Protocol/Protocol17x.cpp
parentCreeper: Fixed skeleton check. (diff)
downloadcuberite-c3c29577a52a2e820cd389b88d52119e8136a7d8.tar
cuberite-c3c29577a52a2e820cd389b88d52119e8136a7d8.tar.gz
cuberite-c3c29577a52a2e820cd389b88d52119e8136a7d8.tar.bz2
cuberite-c3c29577a52a2e820cd389b88d52119e8136a7d8.tar.lz
cuberite-c3c29577a52a2e820cd389b88d52119e8136a7d8.tar.xz
cuberite-c3c29577a52a2e820cd389b88d52119e8136a7d8.tar.zst
cuberite-c3c29577a52a2e820cd389b88d52119e8136a7d8.zip
Diffstat (limited to '')
-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 8d33f3918..431072bdb 100644
--- a/src/Protocol/Protocol17x.cpp
+++ b/src/Protocol/Protocol17x.cpp
@@ -192,7 +192,7 @@ void cProtocol172::SendBlockAction(int a_BlockX, int a_BlockY, int a_BlockZ, cha
-void cProtocol172::SendBlockBreakAnim(int a_EntityID, int a_BlockX, int a_BlockY, int a_BlockZ, char a_Stage)
+void cProtocol172::SendBlockBreakAnim(UInt32 a_EntityID, int a_BlockX, int a_BlockY, int a_BlockZ, char a_Stage)
{
ASSERT(m_State == 3); // In game mode?
@@ -2133,7 +2133,7 @@ void cProtocol172::HandlePacketPluginMessage(cByteBuffer & a_ByteBuffer)
void cProtocol172::HandlePacketSlotSelect(cByteBuffer & a_ByteBuffer)
{
- HANDLE_READ(a_ByteBuffer, ReadBEUInt16, UInt16, SlotNum);
+ HANDLE_READ(a_ByteBuffer, ReadBEInt16, Int16, SlotNum);
m_Client->HandleSlotSelected(SlotNum);
}