From 4bad8d859efa4119c0140e2d8f02cef01b9a44d3 Mon Sep 17 00:00:00 2001 From: TheHyper45 Date: Sun, 20 Jun 2021 12:24:15 +0100 Subject: Yet another style fix --- src/WorldStorage/NamespaceSerializer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/WorldStorage/NamespaceSerializer.cpp') 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"; } -- cgit v1.2.3