Fixed creative fly false positives

This commit is contained in:
Rammelkast committed 2016-05-26 16:27:07 +02:00
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;
}