summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/NamespaceSerializer.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/WorldStorage/NamespaceSerializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/NamespaceSerializer.cpp b/src/WorldStorage/NamespaceSerializer.cpp
index cf4e8aeb3..9d8eb5613 100644
--- a/src/WorldStorage/NamespaceSerializer.cpp
+++ b/src/WorldStorage/NamespaceSerializer.cpp
@@ -555,7 +555,7 @@ AString NamespaceSerializer::Prettify(AString a_Name, const bool a_IsTamed)
{
// 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)
+ if ((a_Name == "ocelot") && a_IsTamed)
{
return "Cat";
}