mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 14:38:45 +00:00
Added FastLadder check, fixed glide false positive
This commit is contained in:
1 parent
0288a9734a
commit
cc51e9307f
14 files changed
+146
-14
No files matched your search
@@ -82,7 +82,8 @@ public class GlideCheck {
|
||||
} else {
|
||||
if (fallDistance > LAST_FALL_DISTANCE.get(player.getUniqueId()) && !player.isOnGround()
|
||||
&& Utilities.isNotNearSlime(distance.getTo().getBlock()) && fallDistance < 1.5
|
||||
&& !Utilities.isClimbableBlock(distance.getTo().getBlock()) && !player.isSneaking()
|
||||
&& !Utilities.isNearClimbable(player)
|
||||
&& !player.isSneaking()
|
||||
&& !AntiCheatReloaded.getManager().getBackend().isEating(player)) {
|
||||
// TODO that fallDistance check is a horrible way to prevent a certain false
|
||||
// positive
|
||||
|
||||
Reference in new issue
Block a user