[trunk] word spacing on mute / tempban

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1322 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
ementalo 2011-05-02 22:30:48 +00:00
parent 79c0ef69c4
commit 96a1bdedc8
2 changed files with 2 additions and 2 deletions

View File

@ -29,6 +29,6 @@ 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("Player " + p.getDisplayName() + " " + (p.toggleMuted() ? "muted" : "unmuted") + (muteTimestamp > 0 ? " for " + Util.formatDateDiff(muteTimestamp) : "") + ".");
}
}

View File

@ -41,7 +41,7 @@ public class Commandtempban extends EssentialsCommand
long banTimestamp = Util.parseDateDiff(time, true);
p = ess.getUser(server.matchPlayer(args[0]).get(0));
String banReason = "Temporary banned from server for " + Util.formatDateDiff(banTimestamp);
String banReason = "Temporarily banned from server for " + Util.formatDateDiff(banTimestamp);
p.setBanReason(banReason);
p.setBanTimeout(banTimestamp);
p.kickPlayer(banReason);