summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_13.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_13.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 'src/Protocol/Protocol_1_13.cpp')
-rw-r--r--src/Protocol/Protocol_1_13.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Protocol/Protocol_1_13.cpp b/src/Protocol/Protocol_1_13.cpp
index d6d25dc3e..133d31ce4 100644
--- a/src/Protocol/Protocol_1_13.cpp
+++ b/src/Protocol/Protocol_1_13.cpp
@@ -368,6 +368,9 @@ UInt8 cProtocol_1_13::GetEntityMetadataID(EntityMetadata a_Metadata) const
case EntityMetadata::AreaEffectCloudParticleParameter1:
case EntityMetadata::AreaEffectCloudParticleParameter2:
case EntityMetadata::ZombieUnusedWasType: break;
+
+ default:
+ break;
}
UNREACHABLE("Retrieved invalid metadata for protocol");
}