mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Fix #190
This commit is contained in:
1 parent
ac170f5dde
commit
de73349b7a
2 files changed
+3
-2
No files matched your search
@@ -172,7 +172,8 @@ public final class FlightCheck {
|
||||
"tried to climb air (mY=" + movementManager.motionY + ", at=" + movementManager.airTicks + ")");
|
||||
}
|
||||
|
||||
if (movementManager.airTicks >= minAirTicks && movementManager.motionY > 0 && !velocityTracker.isVelocitized()
|
||||
if (checksConfig.isSubcheckEnabled(CheckType.FLIGHT, "airClimb") && movementManager.airTicks >= minAirTicks
|
||||
&& movementManager.motionY > 0 && !velocityTracker.isVelocitized()
|
||||
&& movementManager.slimeInfluenceTicks <= 0 && movementManager.elytraEffectTicks <= 25
|
||||
&& (System.currentTimeMillis() - movementManager.lastTeleport >= checksConfig
|
||||
.getInteger(CheckType.FLIGHT, "airClimb", "accountForTeleports"))) {
|
||||
|
||||
Reference in new issue
Block a user