mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Improved logging, fixes issue #23
This commit is contained in:
1 parent
3a0b7369c9
commit
e3f92436ea
9 files changed
+71
-20
No files matched your search
@@ -30,7 +30,7 @@ import java.util.logging.Logger;
|
||||
import net.h31ix.anticheat.event.*;
|
||||
import net.h31ix.anticheat.manage.AnticheatManager;
|
||||
import net.h31ix.anticheat.manage.CheckType;
|
||||
import net.h31ix.anticheat.manage.Utilities;
|
||||
import net.h31ix.anticheat.util.Utilities;
|
||||
import net.h31ix.anticheat.metrics.Metrics;
|
||||
import net.h31ix.anticheat.metrics.Metrics.Graph;
|
||||
import net.h31ix.anticheat.xray.XRayListener;
|
||||
@@ -70,7 +70,7 @@ public class Anticheat extends JavaPlugin
|
||||
@Override
|
||||
public void onEnable()
|
||||
{
|
||||
logger = getLogger();
|
||||
logger = this.getLogger();
|
||||
manager = new AnticheatManager(this);
|
||||
config = manager.getConfiguration();
|
||||
checkConfig();
|
||||
@@ -351,4 +351,9 @@ public class Anticheat extends JavaPlugin
|
||||
{
|
||||
return manager.getPlugin().getDescription().getVersion();
|
||||
}
|
||||
|
||||
public Logger getAnticheatLogger()
|
||||
{
|
||||
return this.getLogger();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user