mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
Fix WaterWalk false positive
This commit is contained in:
1 parent
97534e5df0
commit
16c778c17f
2 files changed
+8
-2
No files matched your search
@@ -147,4 +147,11 @@ public class VersionUtil {
|
||||
return player.getPotionEffect(type).getAmplifier() + 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static boolean isSwimming(Player player) {
|
||||
if (isBountifulUpdate()) {
|
||||
return false;
|
||||
}
|
||||
return player.isSwimming();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user