mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Remove broken FastBreak and NoSwing, fixed false positives and more config migrations
This commit is contained in:
1 parent
128a668e6c
commit
07f3c3abce
16 files changed
+128
-582
No files matched your search
@@ -43,6 +43,8 @@ public class MovementManager {
|
||||
public double lastMotionY;
|
||||
// Horizontal distance of movement
|
||||
public double distanceXZ;
|
||||
// Previous horizontal distance of movement
|
||||
public double lastDistanceXZ;
|
||||
// If the player touched the ground again this tick
|
||||
public boolean touchedGroundThisTick = false;
|
||||
// Last recorded distance
|
||||
@@ -75,6 +77,7 @@ public class MovementManager {
|
||||
|
||||
double x = distance.getXDifference();
|
||||
double z = distance.getZDifference();
|
||||
this.lastDistanceXZ = this.distanceXZ;
|
||||
this.distanceXZ = Math.sqrt(x * x + z * z);
|
||||
|
||||
// Account for standing on boat
|
||||
|
||||
Reference in new issue
Block a user