diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-04-10 00:17:01 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2021-04-12 23:35:07 +0200 |
commit | 66c211c33afa1dc99f6dc3a03119ad0b99ce50c5 (patch) | |
tree | babedad40cb07493b7521ac15670e35547dd5fcc /src/Mobs/Monster.cpp | |
parent | Remove unused GetClassStatic in cWorld (diff) | |
download | cuberite-66c211c33afa1dc99f6dc3a03119ad0b99ce50c5.tar cuberite-66c211c33afa1dc99f6dc3a03119ad0b99ce50c5.tar.gz cuberite-66c211c33afa1dc99f6dc3a03119ad0b99ce50c5.tar.bz2 cuberite-66c211c33afa1dc99f6dc3a03119ad0b99ce50c5.tar.lz cuberite-66c211c33afa1dc99f6dc3a03119ad0b99ce50c5.tar.xz cuberite-66c211c33afa1dc99f6dc3a03119ad0b99ce50c5.tar.zst cuberite-66c211c33afa1dc99f6dc3a03119ad0b99ce50c5.zip |
Diffstat (limited to 'src/Mobs/Monster.cpp')
-rw-r--r-- | src/Mobs/Monster.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Monster.cpp b/src/Mobs/Monster.cpp index 1537a8a74..c1a244a9f 100644 --- a/src/Mobs/Monster.cpp +++ b/src/Mobs/Monster.cpp @@ -1463,7 +1463,7 @@ void cMonster::RightClickFeed(cPlayer & a_Player) a_Player.GetInventory().RemoveOneEquippedItem(); } m_LoveTimer = TPS * 30; // half a minute - m_World->BroadcastEntityStatus(*this, esMobInLove); + m_World->BroadcastEntityAnimation(*this, EntityAnimation::AnimalFallsInLove); } } // If a player holding my spawn egg right-clicked me, spawn a new baby |