mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-29 19:01:22 +01:00
Changed priority of logging destinations (log to more important
locations like the log file and console before logging to chat/irc)
This commit is contained in:
parent
8e04bdece9
commit
7e065d19dd
@ -242,10 +242,11 @@ public class NoCheat extends JavaPlugin {
|
||||
public void log(Level l, String message) {
|
||||
if(l != null && message != null) {
|
||||
message = "NC: " + message;
|
||||
config.logger.log(l, message);
|
||||
logToConsole(l, message);
|
||||
logToChat(l, message);
|
||||
logToIRC(l, message);
|
||||
logToConsole(l, message);
|
||||
config.logger.log(l, message);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user