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/Protocol/Protocol_1_13.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/Protocol/Protocol_1_13.cpp')
-rw-r--r-- | src/Protocol/Protocol_1_13.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Protocol/Protocol_1_13.cpp b/src/Protocol/Protocol_1_13.cpp index 28b6c26f9..a802f0074 100644 --- a/src/Protocol/Protocol_1_13.cpp +++ b/src/Protocol/Protocol_1_13.cpp @@ -403,6 +403,19 @@ UInt32 cProtocol_1_13::GetPacketID(ePacketType a_PacketType) +signed char cProtocol_1_13::GetProtocolEntityStatus(const EntityAnimation a_Animation) const +{ + switch (a_Animation) + { + case EntityAnimation::DolphinShowsHappiness: return 38; + default: return Super::GetProtocolEntityStatus(a_Animation); + } +} + + + + + UInt32 cProtocol_1_13::GetProtocolMobType(eMonsterType a_MobType) { switch (a_MobType) |