mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Code cleanup, prepare for release
This commit is contained in:
1 parent
df3c410436
commit
a7419e3968
15 files changed
+150
-158
No files matched your search
@@ -64,7 +64,6 @@ public class AntiCheatReloaded extends JavaPlugin {
|
||||
private static UpdateManager updateManager;
|
||||
|
||||
private double tps = -1;
|
||||
private int currentTick;
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
@@ -152,7 +151,6 @@ public class AntiCheatReloaded extends JavaPlugin {
|
||||
tps = (tps == 0.0D ? ticks : (tps + ticks) / 2.0D);
|
||||
ticks = 1;
|
||||
}
|
||||
currentTick++;
|
||||
}
|
||||
}.runTaskTimer(this, 40L, 1L);
|
||||
// Launch MorePackets timer
|
||||
|
||||
Reference in new issue
Block a user