Merge pull request #239 from charnad/patch-2

* SpireTracer - Fixed wrong blocking behaviour.
This commit is contained in:
LevelX2 2013-06-13 12:40:44 -07:00
commit 058fa66167

View file

@ -94,11 +94,11 @@ class CantBeBlockedExceptByCreaturesWithFlyingOrReachEffect extends RestrictionE
@Override
public boolean canBeBlocked(Permanent attacker, Permanent blocker, Ability source, Game game) {
if (!blocker.getAbilities().containsKey(FlyingAbility.getInstance().getId())
|| !blocker.getAbilities().containsKey(ReachAbility.getInstance().getId())) {
return false;
if (blocker.getAbilities().containsKey(FlyingAbility.getInstance().getId())
|| blocker.getAbilities().containsKey(ReachAbility.getInstance().getId())) {
return true;
}
return true;
return false;
}
@Override