mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-28 00:17:11 +00:00
General cleanup.
Add optional TL param for tempban/mute time in notify message
This commit is contained in:
parent
7401608cc5
commit
8b11b870b1
26 changed files with 23 additions and 41 deletions
|
@ -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)));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue