diff options
author | madmaxoft <github@xoft.cz> | 2013-11-10 13:40:38 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-11-10 13:40:38 +0100 |
commit | 3fd71244352bae35a54be7f8a393c80a502466e4 (patch) | |
tree | 2442d74c9e03225c9567faeb2b6d8f2c11399942 | |
parent | APIDump: Documented cServer:IsHardCore() (diff) | |
download | cuberite-3fd71244352bae35a54be7f8a393c80a502466e4.tar cuberite-3fd71244352bae35a54be7f8a393c80a502466e4.tar.gz cuberite-3fd71244352bae35a54be7f8a393c80a502466e4.tar.bz2 cuberite-3fd71244352bae35a54be7f8a393c80a502466e4.tar.lz cuberite-3fd71244352bae35a54be7f8a393c80a502466e4.tar.xz cuberite-3fd71244352bae35a54be7f8a393c80a502466e4.tar.zst cuberite-3fd71244352bae35a54be7f8a393c80a502466e4.zip |
-rw-r--r-- | source/Protocol/Protocol17x.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Protocol/Protocol17x.cpp b/source/Protocol/Protocol17x.cpp index 9e230bafd..1e19385c6 100644 --- a/source/Protocol/Protocol17x.cpp +++ b/source/Protocol/Protocol17x.cpp @@ -490,7 +490,7 @@ void cProtocol172::SendPlayerAbilities(void) void cProtocol172::SendPlayerAnimation(const cPlayer & a_Player, char a_Animation) { cPacketizer Pkt(*this, 0x0b); // Animation packet - Pkt.WriteInt(a_Player.GetUniqueID()); + Pkt.WriteVarInt(a_Player.GetUniqueID()); Pkt.WriteChar(a_Animation); } |