Add uptime to debug report, up reach magic values.

This commit is contained in:
gravitylow committed 2013-10-19 02:40:40 -04:00
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;
}
}