Yet another style fix
This commit is contained in:
parent
3b6b456b0f
commit
4bad8d859e
@ -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";
|
||||
}
|
||||
|
@ -24,6 +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"
|
||||
// Examples: Input: "wolf" -> Output: "Wolf", Input: "iron_golem" -> Output: "Iron Golem"
|
||||
AString Prettify(AString a_Name, const bool a_IsTamed = false);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user