summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-11-10 13:40:38 +0100
committermadmaxoft <github@xoft.cz>2013-11-10 13:40:38 +0100
commit3fd71244352bae35a54be7f8a393c80a502466e4 (patch)
tree2442d74c9e03225c9567faeb2b6d8f2c11399942 /source
parentAPIDump: Documented cServer:IsHardCore() (diff)
downloadcuberite-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
Diffstat (limited to '')
-rw-r--r--source/Protocol/Protocol17x.cpp2
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);
}