mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Unchecked attempt at fixing 1.8 compat issues
This commit is contained in:
1 parent
7caf7376ba
commit
a59a4baf28
5 files changed
+26
-13
No files matched your search
@@ -66,9 +66,8 @@ public class FlightCheck {
|
||||
return PASS;
|
||||
|
||||
int minAirTicks = 13;
|
||||
if (player.hasPotionEffect(PotionEffectType.JUMP)) {
|
||||
minAirTicks += player.getPotionEffect(PotionEffectType.JUMP).getAmplifier() * 3;
|
||||
}
|
||||
if (player.hasPotionEffect(PotionEffectType.JUMP))
|
||||
minAirTicks += VersionUtil.getPotionLevel(player, PotionEffectType.JUMP) * 3;
|
||||
|
||||
if (movementManager.halfMovementHistoryCounter > 25)
|
||||
minAirTicks += 5;
|
||||
|
||||
Reference in new issue
Block a user