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