mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-07-09 04:24:47 +02:00
minor change
This commit is contained in:
parent
08ef299290
commit
3fc80cbad2
|
@ -140,8 +140,8 @@ public class NoCheat extends JavaPlugin {
|
|||
return conf;
|
||||
}
|
||||
|
||||
public LogManager getLogManager() {
|
||||
return log;
|
||||
public void log(LogLevel level, String message, ConfigurationCache cc) {
|
||||
log.log(level, message, cc);
|
||||
}
|
||||
|
||||
public BaseData getPlayerData(Player player) {
|
||||
|
@ -312,5 +312,4 @@ public class NoCheat extends JavaPlugin {
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@ public class ActionManager {
|
|||
}
|
||||
|
||||
private void executeLogAction(LogAction l, LogData data, ConfigurationCache cc) {
|
||||
plugin.getLogManager().log(l.level, cc.logging.prefix + l.getMessage(data), cc);
|
||||
plugin.log(l.level, cc.logging.prefix + l.getMessage(data), cc);
|
||||
}
|
||||
|
||||
private void executeConsoleCommand(ConsolecommandAction action, LogData data) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user