From ea36ee37a2fd9dd54f736e6f8c619c0e5d74be0f Mon Sep 17 00:00:00 2001 From: Trent Hensler Date: Tue, 19 Dec 2017 00:22:00 -0800 Subject: [PATCH] Use correct value --- .../src/com/earth2me/essentials/EssentialsPlayerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())); }