diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-07 00:47:07 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2013-12-07 00:47:07 +0100 |
commit | 30ead790490f04248b861db79fddde9148b552f4 (patch) | |
tree | d514486213ab0cf99d33d0580718fd058c3cbc51 /src/Protocol/Protocol17x.cpp | |
parent | Fixed bed leave animation (diff) | |
download | cuberite-30ead790490f04248b861db79fddde9148b552f4.tar cuberite-30ead790490f04248b861db79fddde9148b552f4.tar.gz cuberite-30ead790490f04248b861db79fddde9148b552f4.tar.bz2 cuberite-30ead790490f04248b861db79fddde9148b552f4.tar.lz cuberite-30ead790490f04248b861db79fddde9148b552f4.tar.xz cuberite-30ead790490f04248b861db79fddde9148b552f4.tar.zst cuberite-30ead790490f04248b861db79fddde9148b552f4.zip |
Diffstat (limited to 'src/Protocol/Protocol17x.cpp')
-rw-r--r-- | src/Protocol/Protocol17x.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp index 5f5864f2a..68f15cb69 100644 --- a/src/Protocol/Protocol17x.cpp +++ b/src/Protocol/Protocol17x.cpp @@ -489,10 +489,10 @@ void cProtocol172::SendPlayerAbilities(void) -void cProtocol172::SendPlayerAnimation(const cPlayer & a_Player, char a_Animation) +void cProtocol172::SendEntityAnimation(const cEntity & a_Entity, char a_Animation) { cPacketizer Pkt(*this, 0x0b); // Animation packet - Pkt.WriteVarInt(a_Player.GetUniqueID()); + Pkt.WriteVarInt(a_Entity.GetUniqueID()); Pkt.WriteChar(a_Animation); } |