Fixed "Pegasus changed race to Waterpicker"

This commit is contained in:
Sollace 2019-02-08 23:20:51 +02:00
parent eacaea2898
commit 9abc072d7c
2 changed files with 4 additions and 7 deletions

View file

@ -76,10 +76,10 @@ class CommandSpecies extends CommandBase {
ITextComponent formattedName = new TextComponentTranslation(species.name().toLowerCase()); ITextComponent formattedName = new TextComponentTranslation(species.name().toLowerCase());
if (player != sender) { 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 { } else {
player.sendMessage(new TextComponentTranslation("commands.race.success.self")); 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 { } else {
player.sendMessage(new TextComponentTranslation("commands.race.permission")); player.sendMessage(new TextComponentTranslation("commands.race.permission"));

View file

@ -133,8 +133,8 @@ toxicity.lethal.name=Lethal
gui.unicopia=Unicopia... gui.unicopia=Unicopia...
commands.race.success.self=Your race has been updated commands.race.success.self=Your race has been updated
commands.race.success.otherself=%s changed race to %s commands.race.success.otherself=%1$s changed race to %2$s
commands.race.success.other=Changed %s's race to %s commands.race.success.other=Changed %1$s's race to %2$s
commands.race.usage=/race <get|set|list|describe> [player] <species> commands.race.usage=/race <get|set|list|describe> [player] <species>
commands.race.list=The available races are: commands.race.list=The available races are:
commands.race.permission=Selected Race is not permitted by your current server 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.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.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 <all>
unicopia.race.human=Human unicopia.race.human=Human
unicopia.race.human.alt=Humans unicopia.race.human.alt=Humans
unicopia.race.earth=Earth Pony unicopia.race.earth=Earth Pony