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_12.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_12.cpp')
-rw-r--r-- | src/Protocol/Protocol_1_12.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Protocol/Protocol_1_12.cpp b/src/Protocol/Protocol_1_12.cpp index b340d87f5..31daa96f7 100644 --- a/src/Protocol/Protocol_1_12.cpp +++ b/src/Protocol/Protocol_1_12.cpp @@ -1070,6 +1070,20 @@ cProtocol::Version cProtocol_1_12::GetProtocolVersion() +signed char cProtocol_1_12::GetProtocolEntityStatus(EntityAnimation a_Animation) const +{ + switch (a_Animation) + { + case EntityAnimation::PawnBurns: return 37; + case EntityAnimation::PawnDrowns: return 36; + default: return Super::GetProtocolEntityStatus(a_Animation); + } +} + + + + + UInt32 cProtocol_1_12::GetProtocolMobType(const eMonsterType a_MobType) { switch (a_MobType) |