diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-02-20 17:24:13 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2021-02-20 18:46:02 +0100 |
commit | 81e299f00ce3df587166ccc94f5997555cce5210 (patch) | |
tree | d5954c7f5756b67b2c6c1f7c6f2b635f5337eef2 /src/WorldStorage | |
parent | Clang 7? (diff) | |
download | cuberite-81e299f00ce3df587166ccc94f5997555cce5210.tar cuberite-81e299f00ce3df587166ccc94f5997555cce5210.tar.gz cuberite-81e299f00ce3df587166ccc94f5997555cce5210.tar.bz2 cuberite-81e299f00ce3df587166ccc94f5997555cce5210.tar.lz cuberite-81e299f00ce3df587166ccc94f5997555cce5210.tar.xz cuberite-81e299f00ce3df587166ccc94f5997555cce5210.tar.zst cuberite-81e299f00ce3df587166ccc94f5997555cce5210.zip |
Diffstat (limited to 'src/WorldStorage')
-rw-r--r-- | src/WorldStorage/NamespaceSerializer.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/WorldStorage/NamespaceSerializer.cpp b/src/WorldStorage/NamespaceSerializer.cpp index 4d3d1a544..088714cd1 100644 --- a/src/WorldStorage/NamespaceSerializer.cpp +++ b/src/WorldStorage/NamespaceSerializer.cpp @@ -133,7 +133,6 @@ std::string_view NamespaceSerializer::From(const Statistic a_ID) case Statistic::AchBreedCow: return "cuberite:achievement.breedCow"; case Statistic::AchDiamondsToYou: return "cuberite:achievement.diamondsToYou"; } - UNREACHABLE("Tried to save unhandled statistic"); } @@ -216,7 +215,6 @@ std::string_view NamespaceSerializer::From(eMonsterType a_ID) case mtZombieVillager: return "zombie_villager"; case mtInvalidType: break; } - UNREACHABLE("Tried to save unknown monster type"); } |