summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/WorldStorage/NamespaceSerializer.cpp7
-rw-r--r--src/WorldStorage/NamespaceSerializer.h1
2 files changed, 1 insertions, 7 deletions
diff --git a/src/WorldStorage/NamespaceSerializer.cpp b/src/WorldStorage/NamespaceSerializer.cpp
index 52a2973a0..cf4e8aeb3 100644
--- a/src/WorldStorage/NamespaceSerializer.cpp
+++ b/src/WorldStorage/NamespaceSerializer.cpp
@@ -553,13 +553,6 @@ eMonsterType NamespaceSerializer::ToMonsterType(const std::string_view a_ID)
AString NamespaceSerializer::Prettify(AString a_Name, const bool a_IsTamed)
{
- /**
- Examples:
- Input: "wolf", Output: "Wolf"
- Input: "snow_golem", Output: "Snow Golem"
- Input: "skeleton_horse", Output: "Skeleton Horse"
- */
-
// In older vanilla Minecraft version (before 1.14) ocelots and cats were the same mob.
// So after killing a tamed ocelot without a custom name the message will say "Cat was slain by [PlayerName]".
if (a_Name == "ocelot" && a_IsTamed)
diff --git a/src/WorldStorage/NamespaceSerializer.h b/src/WorldStorage/NamespaceSerializer.h
index e21b487d7..378f72729 100644
--- a/src/WorldStorage/NamespaceSerializer.h
+++ b/src/WorldStorage/NamespaceSerializer.h
@@ -24,5 +24,6 @@ namespace NamespaceSerializer
std::pair<Namespace, std::string_view> SplitNamespacedID(std::string_view ID);
+ // Examples: Input: "wolf" -> Output: "Wolf" , Input: "iron_golem" -> Output: "Iron Golem"
AString Prettify(AString a_Name, const bool a_IsTamed = false);
}