General cleanup.

Add optional TL param for tempban/mute time in notify message
This commit is contained in:
KHobbits 2013-08-11 21:34:26 +01:00
parent 7401608cc5
commit 8b11b870b1
26 changed files with 23 additions and 41 deletions

View file

@ -60,6 +60,6 @@ public class Commandtempban extends EssentialsCommand
user.setBanned(true);
user.kickPlayer(banReason);
ess.broadcastMessage("essentials.ban.notify", _("playerBanned", senderName, user.getName(), banReason));
ess.broadcastMessage("essentials.ban.notify", _("playerBanned", senderName, user.getName(), banReason, DateUtil.formatDateDiff(banTimestamp)));
}
}