Send the log message to the console sender, to support color.

This commit is contained in:
graywolf336 2013-12-24 23:24:30 -06:00
parent 57d61717fe
commit 170fd1776f

View File

@ -65,7 +65,7 @@ public class PrisonerManager {
//Log the message, if it is enabled //Log the message, if it is enabled
if(pl.getConfig().getBoolean(Settings.LOGJAILING.getPath(), true)) { if(pl.getConfig().getBoolean(Settings.LOGJAILING.getPath(), true)) {
pl.getLogger().info(msg); pl.getServer().getConsoleSender().sendMessage(msg);
} }
} }
} }