mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
- 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:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user