mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 22:16:03 +00:00
Changes to update checking, add subcheck in alerts
This commit is contained in:
1 parent
7cd90cfb61
commit
1f48785d1d
17 files changed
+126
-89
No files matched your search
@@ -169,6 +169,10 @@ public class AntiCheatReloaded extends JavaPlugin {
|
||||
tps = (tps == 0.0D ? ticks : (tps + ticks) / 2.0D);
|
||||
ticks = 1;
|
||||
}
|
||||
|
||||
// Check for updates every 12 hours
|
||||
if (ticks % 864000 == 0)
|
||||
updateManager.update();
|
||||
}
|
||||
}.runTaskTimer(this, 40L, 1L);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user