summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.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/Entities/Player.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/Entities/Player.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp
index a0cf24325..4684567e6 100644
--- a/src/Entities/Player.cpp
+++ b/src/Entities/Player.cpp
@@ -572,7 +572,7 @@ void cPlayer::StartEating(void)
m_EatingFinishTick = m_World->GetWorldAge() + EATING_TICKS;
// Send the packets:
- m_World->BroadcastPlayerAnimation(*this, 3);
+ m_World->BroadcastEntityAnimation(*this, 3);
m_World->BroadcastEntityMetadata(*this);
}
@@ -587,7 +587,7 @@ void cPlayer::FinishEating(void)
// Send the packets:
m_ClientHandle->SendEntityStatus(*this, ENTITY_STATUS_EATING_ACCEPTED);
- m_World->BroadcastPlayerAnimation(*this, 0);
+ m_World->BroadcastEntityAnimation(*this, 0);
m_World->BroadcastEntityMetadata(*this);
// consume the item:
@@ -616,7 +616,7 @@ void cPlayer::FinishEating(void)
void cPlayer::AbortEating(void)
{
m_EatingFinishTick = -1;
- m_World->BroadcastPlayerAnimation(*this, 0);
+ m_World->BroadcastEntityAnimation(*this, 0);
m_World->BroadcastEntityMetadata(*this);
}