summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol125.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-07 00:47:07 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-12-07 00:47:07 +0100
commit30ead790490f04248b861db79fddde9148b552f4 (patch)
treed514486213ab0cf99d33d0580718fd058c3cbc51 /src/Protocol/Protocol125.cpp
parentFixed bed leave animation (diff)
downloadcuberite-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 '')
-rw-r--r--src/Protocol/Protocol125.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Protocol125.cpp b/src/Protocol/Protocol125.cpp
index b1dd17ea1..9334e6f2d 100644
--- a/src/Protocol/Protocol125.cpp
+++ b/src/Protocol/Protocol125.cpp
@@ -578,11 +578,11 @@ void cProtocol125::SendPickupSpawn(const cPickup & a_Pickup)
-void cProtocol125::SendPlayerAnimation(const cPlayer & a_Player, char a_Animation)
+void cProtocol125::SendEntityAnimation(const cEntity & a_Entity, char a_Animation)
{
cCSLock Lock(m_CSPacket);
WriteByte(PACKET_ANIMATION);
- WriteInt (a_Player.GetUniqueID());
+ WriteInt (a_Entity.GetUniqueID());
WriteByte(a_Animation);
Flush();
}