Fixed canBlock restriction effect - Fixed Issue 138.

This commit is contained in:
magenoxx 2011-06-03 09:49:30 +04:00
parent 341660e03e
commit 8fb65cedd9

View file

@ -594,7 +594,7 @@ public abstract class PermanentImpl<T extends PermanentImpl<T>> extends CardImpl
return false;
Permanent attacker = game.getPermanent(attackerId);
//20101001 - 509.1b
for (RestrictionEffect effect : game.getContinuousEffects().getApplicableRestrictionEffects(attacker, game)) {
for (RestrictionEffect effect : game.getContinuousEffects().getApplicableRestrictionEffects(this, game)) {
if (!effect.canBlock(attacker, this, game))
return false;
}