Send the log message to the console sender, to support color.
This commit is contained in:
parent
57d61717fe
commit
170fd1776f
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user