Fix the broadcast/logging not being the correct one for minutes.
This commit is contained in:
parent
906348dc69
commit
2f36c1f900
@ -81,8 +81,8 @@ public class PrisonerManager {
|
|||||||
|
|
||||||
if(prisoner.getRemainingTime() < 0L)
|
if(prisoner.getRemainingTime() < 0L)
|
||||||
msg = pl.getJailIO().getLanguageString(LangString.BROADCASTMESSAGEFOREVER, new String[] { prisoner.getName() });
|
msg = pl.getJailIO().getLanguageString(LangString.BROADCASTMESSAGEFOREVER, new String[] { prisoner.getName() });
|
||||||
else//
|
else
|
||||||
msg = pl.getJailIO().getLanguageString(LangString.BROADCASTMESSAGEFOREVER, new String[] { prisoner.getName(), String.valueOf(prisoner.getRemainingTimeInMinutes()) });
|
msg = pl.getJailIO().getLanguageString(LangString.BROADCASTMESSAGEFORMINUTES, new String[] { prisoner.getName(), String.valueOf(prisoner.getRemainingTimeInMinutes()) });
|
||||||
|
|
||||||
boolean broadcasted = false;
|
boolean broadcasted = false;
|
||||||
//Broadcast the message, if it is enabled
|
//Broadcast the message, if it is enabled
|
||||||
|
Loading…
Reference in New Issue
Block a user