Changes to update checking, add subcheck in alerts

This commit is contained in:
Rammelkast committed 2020-08-09 17:24:51 +02:00
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);
}