Bleeding fix for #81, added #76 and started working on OF zoom support

This commit is contained in:
Rammelkast committed 2020-05-04 15:40:14 +02:00
1 parent cd3184f17b
commit 8cf2702708
5 files changed
+69 -4

No files matched your search

@@ -84,7 +84,8 @@ public class GlideCheck {
&& Utilities.isNotNearSlime(distance.getTo().getBlock()) && fallDistance < 1.5
&& !Utilities.isNearClimbable(player)
&& !player.isSneaking()
&& !AntiCheatReloaded.getManager().getBackend().isEating(player)) {
&& !AntiCheatReloaded.getManager().getBackend().isEating(player)
&& !Utilities.isInWater(player)) {
// TODO that fallDistance check is a horrible way to prevent a certain false
// positive
// Needs to be fixed since this only works for slight above ground movements