From 9abc072d7cc2ac2534ef0c171fec7d0bd1a718c4 Mon Sep 17 00:00:00 2001 From: Sollace Date: Fri, 8 Feb 2019 23:20:51 +0200 Subject: [PATCH] Fixed "Pegasus changed race to Waterpicker" --- .../minelittlepony/unicopia/command/CommandSpecies.java | 4 ++-- src/main/resources/assets/unicopia/lang/en_US.lang | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/minelittlepony/unicopia/command/CommandSpecies.java b/src/main/java/com/minelittlepony/unicopia/command/CommandSpecies.java index b4f627c0..b9d78b00 100644 --- a/src/main/java/com/minelittlepony/unicopia/command/CommandSpecies.java +++ b/src/main/java/com/minelittlepony/unicopia/command/CommandSpecies.java @@ -76,10 +76,10 @@ class CommandSpecies extends CommandBase { ITextComponent formattedName = new TextComponentTranslation(species.name().toLowerCase()); if (player != sender) { - notifyCommandListener(sender, this, 1, "commands.race.success.other", formattedName, player.getName()); + notifyCommandListener(sender, this, 1, "commands.race.success.other", player.getName(), formattedName); } else { player.sendMessage(new TextComponentTranslation("commands.race.success.self")); - notifyCommandListener(sender, this, 1, "commands.race.success.otherself", formattedName, player.getName()); + notifyCommandListener(sender, this, 1, "commands.race.success.otherself", player.getName(), formattedName); } } else { player.sendMessage(new TextComponentTranslation("commands.race.permission")); diff --git a/src/main/resources/assets/unicopia/lang/en_US.lang b/src/main/resources/assets/unicopia/lang/en_US.lang index 36664dc9..82d83159 100644 --- a/src/main/resources/assets/unicopia/lang/en_US.lang +++ b/src/main/resources/assets/unicopia/lang/en_US.lang @@ -133,8 +133,8 @@ toxicity.lethal.name=Lethal gui.unicopia=Unicopia... commands.race.success.self=Your race has been updated -commands.race.success.otherself=%s changed race to %s -commands.race.success.other=Changed %s's race to %s +commands.race.success.otherself=%1$s changed race to %2$s +commands.race.success.other=Changed %1$s's race to %2$s commands.race.usage=/race [player] commands.race.list=The available races are: commands.race.permission=Selected Race is not permitted by your current server @@ -181,9 +181,6 @@ commands.racelist.disallowed.failed=%1$s is not on the whitelist. commands.racelist.disallowed.other=%1$s was removed from the whitelist by %2$s. commands.racelist.disallowed.failed.other=%2$s tried to remove %1$s from the whitelist but it has not been added yet. -commands.decloud.success=%s clouds removed -commands.decloud.usage=/decloud - unicopia.race.human=Human unicopia.race.human.alt=Humans unicopia.race.earth=Earth Pony