mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Fixed flight, speed, strafe false positives near boats
This commit is contained in:
1 parent
0d50bc3b52
commit
45712a8f62
4 files changed
+4
-4
No files matched your search
@@ -53,7 +53,7 @@ public class StrafeCheck {
|
||||
|
||||
if (System.currentTimeMillis() - movementManager.lastTeleport <= checksConfig.getInteger(CheckType.STRAFE,
|
||||
"accountForTeleports") || movementManager.elytraEffectTicks >= 20
|
||||
|| movementManager.halfMovementHistoryCounter >= 20)
|
||||
|| movementManager.halfMovementHistoryCounter >= 20 || Utilities.couldBeOnBoat(player, 0.5d, false))
|
||||
return PASS;
|
||||
|
||||
Vector oldAcceleration = new Vector(movementManager.lastDistanceX, 0, movementManager.lastDistanceZ);
|
||||
|
||||
Reference in new issue
Block a user