Fix for trace util

This commit is contained in:
magenoxx 2012-08-14 15:36:01 +04:00
parent b69e23f4b8
commit cb63af7559

View file

@ -37,10 +37,10 @@ public class TraceUtil {
if (hasFlying(attacker)) { if (hasFlying(attacker)) {
for (UUID blockerId : group.getBlockers()) { for (UUID blockerId : group.getBlockers()) {
Permanent blocker = game.getPermanent(blockerId); Permanent blocker = game.getPermanent(blockerId);
//if (blocker != null && !hasFlying(blocker) && !hasReach(blocker)) { if (blocker != null && !hasFlying(blocker) && !hasReach(blocker)) {
log.warn("Found non-flying non-reach creature blocking creature with flying"); log.warn("Found non-flying non-reach creature blocking creature with flying");
traceCombat(game, attacker, blocker); traceCombat(game, attacker, blocker);
//} }
} }
} }
if (hasUnblockable(attacker)) { if (hasUnblockable(attacker)) {