mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Add uptime to debug report, up reach magic values.
This commit is contained in:
1 parent
df74de3fd1
commit
c6818c11f7
3 files changed
+15
-8
No files matched your search
@@ -51,10 +51,12 @@ public class AntiCheat extends JavaPlugin {
|
||||
private static final int PROJECT_ID = 38723;
|
||||
private static PacketManager packetManager;
|
||||
private static boolean protocolLib = false;
|
||||
private static Long loadTime;
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
plugin = this;
|
||||
loadTime = System.currentTimeMillis();
|
||||
manager = new AnticheatManager(this, getLogger());
|
||||
eventList.add(new PlayerListener());
|
||||
eventList.add(new BlockListener());
|
||||
@@ -238,4 +240,8 @@ public class AntiCheat extends JavaPlugin {
|
||||
public void setVerbose(boolean b) {
|
||||
verbose = b;
|
||||
}
|
||||
|
||||
public Long getLoadTime() {
|
||||
return loadTime;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user