mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-03 06:28:52 +00:00
Reset player's last packet time when they leave the server, and kick after logging so things actually log.
This commit is contained in:
1 parent
5d9f29fc41
commit
089c9fce5d
2 files changed
+6
-2
No files matched your search
@@ -294,9 +294,9 @@ public class PlayerListener extends EventListener
|
||||
backend.logAscension(player, from.getY(), to.getY());
|
||||
if (checkManager.willCheck(player, CheckType.SPEED) && backend.checkFreeze(player, from.getY(), to.getY()))
|
||||
{
|
||||
player.kickPlayer("Freezing client");
|
||||
log("tried to freeze in mid-air.", player, CheckType.SPEED);
|
||||
}
|
||||
player.kickPlayer("Freezing client");
|
||||
}
|
||||
if (checkManager.willCheck(player, CheckType.SPRINT))
|
||||
{
|
||||
if (backend.checkSprintStill(player, from, to))
|
||||
|
||||
Reference in new issue
Block a user