From 2f36c1f9007f508bbd0c5bcef18e02f8e2d4cfce Mon Sep 17 00:00:00 2001 From: graywolf336 Date: Fri, 3 Jan 2014 21:05:39 -0600 Subject: [PATCH] Fix the broadcast/logging not being the correct one for minutes. --- src/main/java/com/graywolf336/jail/PrisonerManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/graywolf336/jail/PrisonerManager.java b/src/main/java/com/graywolf336/jail/PrisonerManager.java index 09d02cf..133bdaa 100644 --- a/src/main/java/com/graywolf336/jail/PrisonerManager.java +++ b/src/main/java/com/graywolf336/jail/PrisonerManager.java @@ -81,8 +81,8 @@ public class PrisonerManager { if(prisoner.getRemainingTime() < 0L) msg = pl.getJailIO().getLanguageString(LangString.BROADCASTMESSAGEFOREVER, new String[] { prisoner.getName() }); - else// - msg = pl.getJailIO().getLanguageString(LangString.BROADCASTMESSAGEFOREVER, new String[] { prisoner.getName(), String.valueOf(prisoner.getRemainingTimeInMinutes()) }); + else + msg = pl.getJailIO().getLanguageString(LangString.BROADCASTMESSAGEFORMINUTES, new String[] { prisoner.getName(), String.valueOf(prisoner.getRemainingTimeInMinutes()) }); boolean broadcasted = false; //Broadcast the message, if it is enabled