- Fixing Ninjutsu cards not setting unblocked that was broken in r22261

Most hilarious NPE at a line commented with "// this is called after declare blockers, no worries 'bout nulls in isBlocked"
This commit is contained in:
Sol
2013-07-17 00:39:22 +00:00
parent 4f5de217e7
commit 845d67db52

View File

@@ -507,6 +507,7 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
if (!defenders.isEmpty()) {
// Blockeres are already declared, set this to unblocked
game.getCombat().addAttacker(tgtC, defenders.get(0));
game.getCombat().getBandOfAttacker(tgtC).setBlocked(false);
}
}
if (sa.hasParam("Tapped") || sa.hasParam("Ninjutsu")) {