From b5186a367a96fb466428c94d2145f23ab90c7c91 Mon Sep 17 00:00:00 2001 From: Sloth Date: Wed, 19 Jun 2013 20:37:37 +0000 Subject: [PATCH] - Fixed NPE caused by spells without target. --- .../java/forge/card/spellability/SpellAbilityStackInstance.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/forge/card/spellability/SpellAbilityStackInstance.java b/src/main/java/forge/card/spellability/SpellAbilityStackInstance.java index 6957f2a4faa..7b937dc9215 100644 --- a/src/main/java/forge/card/spellability/SpellAbilityStackInstance.java +++ b/src/main/java/forge/card/spellability/SpellAbilityStackInstance.java @@ -49,7 +49,7 @@ public class SpellAbilityStackInstance { // When going to a SubAbility that SA has a Instance Choice object /** The tc. */ - private TargetChoices tc = null; + private TargetChoices tc = new TargetChoices(); private List splicedCards = null; /** The stack description. */