diff options
author | Simon Pribylski <66266021+Persson-dev@users.noreply.github.com> | 2022-04-20 12:21:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-20 12:21:30 +0200 |
commit | 21bcb2a7578e6b25faadda89345684871c7144aa (patch) | |
tree | 24f7ad32dcf681360e7c73f5467c073369096f35 /src/Protocol/Protocol_1_8.cpp | |
parent | handled the infinite loop and style (diff) | |
download | cuberite-21bcb2a7578e6b25faadda89345684871c7144aa.tar cuberite-21bcb2a7578e6b25faadda89345684871c7144aa.tar.gz cuberite-21bcb2a7578e6b25faadda89345684871c7144aa.tar.bz2 cuberite-21bcb2a7578e6b25faadda89345684871c7144aa.tar.lz cuberite-21bcb2a7578e6b25faadda89345684871c7144aa.tar.xz cuberite-21bcb2a7578e6b25faadda89345684871c7144aa.tar.zst cuberite-21bcb2a7578e6b25faadda89345684871c7144aa.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol_1_8.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Protocol/Protocol_1_8.cpp b/src/Protocol/Protocol_1_8.cpp index efceef082..1d35b93f8 100644 --- a/src/Protocol/Protocol_1_8.cpp +++ b/src/Protocol/Protocol_1_8.cpp @@ -3911,7 +3911,7 @@ void cProtocol_1_8_0::AddReceivedData(cByteBuffer & a_Buffer, const ContiguousBy -UInt8 cProtocol_1_8_0::GetProtocolEntityType(const cEntity & a_Entity) +UInt8 cProtocol_1_8_0::GetProtocolEntityType(const cEntity & a_Entity) const { using Type = cEntity::eEntityType; @@ -3962,7 +3962,7 @@ UInt8 cProtocol_1_8_0::GetProtocolEntityType(const cEntity & a_Entity) -int cProtocol_1_8_0::GetProtocolParticleID(const AString & a_ParticleName) +int cProtocol_1_8_0::GetProtocolParticleID(const AString & a_ParticleName) const { static const std::unordered_map<AString, int> ParticleMap { |