mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Gamebreaking flight false hotfix for 1.8.8
This commit is contained in:
1 parent
e9a99f0463
commit
cffd6d07ae
2 files changed
+4
-3
No files matched your search
@@ -111,11 +111,12 @@ public class FlightCheck {
|
||||
// End AirFlight
|
||||
|
||||
// Start AirClimb
|
||||
// TODO two hardcoded values here shouldn't be there, temp against false
|
||||
// TODO three hardcoded values here shouldn't be there, temp against false
|
||||
// positive
|
||||
if (checksConfig.isSubcheckEnabled(CheckType.FLIGHT, "airClimb") && movementManager.lastMotionY > 0
|
||||
&& movementManager.motionY > 0 && movementManager.airTicks == 2
|
||||
&& Math.round(movementManager.lastMotionY * 1000) != 420
|
||||
&& Math.round(movementManager.motionY * 1000) != 248
|
||||
&& !(Math.round(movementManager.motionY * 1000) == 333
|
||||
&& Math.round(movementManager.lastMotionY * 1000) != 333)
|
||||
&& !AntiCheatReloaded.getManager().getBackend().justVelocity(player)
|
||||
|
||||
Reference in new issue
Block a user