mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-16 23:55:28 +01:00
Use correct value
This commit is contained in:
parent
a907dab432
commit
ea36ee37a2
@ -366,7 +366,7 @@ public class EssentialsPlayerListener implements Listener {
|
||||
Date banExpiry = banEntry.getExpiration();
|
||||
if (banExpiry != null) {
|
||||
String expiry = DateUtil.formatDateDiff(banExpiry.getTime());
|
||||
event.setKickMessage(tl("tempbanJoin", banExpiry.getTime(), banEntry.getReason()));
|
||||
event.setKickMessage(tl("tempbanJoin", expiry, banEntry.getReason()));
|
||||
} else {
|
||||
event.setKickMessage(tl("banJoin", banEntry.getReason()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user