mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Fixed bug in version check, fixed water-related false positive and fixed wrong permission
This commit is contained in:
1 parent
c6e4ce091a
commit
918549bc11
6 files changed
+27
-6
No files matched your search
@@ -276,7 +276,7 @@ public class Backend {
|
||||
public CheckResult checkNoFall(Player player, double y) {
|
||||
UUID uuid = player.getUniqueId();
|
||||
if (player.getGameMode() != GameMode.CREATIVE && !player.isInsideVehicle() && !player.isSleeping()
|
||||
&& !isMovingExempt(player) && !justPlaced(player) && !Utilities.isInWater(player)
|
||||
&& !isMovingExempt(player) && !justPlaced(player) && !Utilities.isNearWater(player)
|
||||
&& !Utilities.isInWeb(player) && !player.getLocation().getBlock().getType().name().endsWith("TRAPDOOR")
|
||||
&& !VersionUtil.isSlowFalling(player)) {
|
||||
if (player.getFallDistance() == 0) {
|
||||
|
||||
Reference in new issue
Block a user