mirror of
https://github.com/songoda/UltimateModeration.git
synced 2025-02-14 10:31:42 +01:00
Added translation.
This commit is contained in:
parent
7aaceb0c30
commit
1bb52773f9
@ -19,11 +19,9 @@ public class CommandSpy extends AbstractCommand {
|
||||
}
|
||||
|
||||
public static void spy(OfflinePlayer player, Player senderP) {
|
||||
|
||||
|
||||
UltimateModeration instance = UltimateModeration.getInstance();
|
||||
if (player == senderP) {
|
||||
senderP.sendMessage(instance.getReferences().getPrefix() + "You cannot spy on yourself.");
|
||||
senderP.sendMessage(instance.getReferences().getPrefix() + instance.getLocale().getMessage("command.spy.cant"));
|
||||
return;
|
||||
}
|
||||
boolean didVanish = false;
|
||||
|
@ -25,7 +25,7 @@ command.revive.revived = "&7You have been revived."
|
||||
|
||||
command.spy.returned = "&7You were returned to your previous location"
|
||||
command.spy.success = "&7You are now spying on &6%player%&7. Use the command &6/spy &7to return to your previous location&7"
|
||||
|
||||
command.spy.cant = "You cannot spy on yourself."
|
||||
command.commandspy.deny = "&6%player%&7: %command%&7."
|
||||
command.commandspy.toggleOn = "&7Command spy on";
|
||||
command.commandspy.toggleOff = "&7Command spy off";
|
||||
|
Loading…
Reference in New Issue
Block a user