mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Drop 1.8 support, improve IllegalInteract, drop rules engine for java 16, more refactoring
This commit is contained in:
1 parent
71a9c9a9c7
commit
a1f7a0cf7f
24 files changed
+632
-622
No files matched your search
@@ -93,6 +93,8 @@ public final class MovementManager {
|
||||
public int riptideTicks;
|
||||
// Time of last update
|
||||
public long lastUpdate;
|
||||
// Last location
|
||||
public Location lastLocation;
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public void handle(final Player player, final Location from, final Location to, final Distance distance) {
|
||||
@@ -100,6 +102,8 @@ public final class MovementManager {
|
||||
// This is checked for spoofing by "GroundFlight"
|
||||
// Also seems to make NoFall cheats flag for speed lmao
|
||||
this.onGround = player.isOnGround();
|
||||
|
||||
this.lastLocation = from;
|
||||
|
||||
final double x = distance.getXDifference();
|
||||
final double z = distance.getZDifference();
|
||||
|
||||
Reference in new issue
Block a user