diff options
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/Commandmute.java')
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandmute.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandmute.java b/Essentials/src/com/earth2me/essentials/commands/Commandmute.java index 422806400..24316d93f 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandmute.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandmute.java @@ -29,6 +29,8 @@ public class Commandmute extends EssentialsCommand } p.setMuteTimeout(muteTimestamp); charge(sender); - sender.sendMessage("Player " + p.getDisplayName() + " " + (p.toggleMuted() ? "muted" : "unmuted") + (muteTimestamp > 0 ? " for " + Util.formatDateDiff(muteTimestamp) : "") + "."); + + + sender.sendMessage(Util.format("mutedPlayer", p.getDisplayName(), (p.toggleMuted() ? Util.i18n("muted") : Util.i18n("unmuted")), (muteTimestamp > 0 ? Util.i18n("for") + Util.formatDateDiff(muteTimestamp) : ""))); } } |