summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_8.cpp
diff options
context:
space:
mode:
authorSimon Pribylski <66266021+Persson-dev@users.noreply.github.com>2022-04-20 12:21:30 +0200
committerGitHub <noreply@github.com>2022-04-20 12:21:30 +0200
commit21bcb2a7578e6b25faadda89345684871c7144aa (patch)
tree24f7ad32dcf681360e7c73f5467c073369096f35 /src/Protocol/Protocol_1_8.cpp
parenthandled the infinite loop and style (diff)
downloadcuberite-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.cpp4
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
{