diff --git a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java index 7548c08df..663145216 100644 --- a/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java +++ b/Essentials/src/com/earth2me/essentials/EssentialsPlayerListener.java @@ -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())); }