mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 14:38:56 +00:00
Fixed creative fly false positives
This commit is contained in:
1 parent
1395c36c82
commit
eb6372b344
1 file changed
+3
@@ -174,6 +174,9 @@ public class CheckManager {
|
||||
&& !type.checkPermission(player)
|
||||
&& !isOpExempt(player);
|
||||
AntiCheat.debugLog("Check " + type + (check ? " run " : " not run ") + "on " + player.getName());
|
||||
// TODO temp fix
|
||||
if ((type == CheckType.FLY || type == CheckType.SPEED) && player.isFlying())
|
||||
return false;
|
||||
return check;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user