- Fixed Haunt crash.

This commit is contained in:
Sloth
2013-06-30 07:59:17 +00:00
parent 0af795d2e0
commit 10aadd4e66

View File

@@ -559,7 +559,7 @@ public class MagicStack /* extends MyObservable */ implements Iterable<SpellAbil
} }
if (!creats.isEmpty()) { if (!creats.isEmpty()) {
haunterDiesWork.setDescription(""); haunterDiesWork.setDescription("");
haunterDiesWork.setTargetRestrictions(new TargetRestrictions("", "Creature".split(" "), "1", "1"));
if (source.getController().isHuman()) { if (source.getController().isHuman()) {
final InputSelectCards targetHaunted = new InputSelectCardsFromList(1,1, creats); final InputSelectCards targetHaunted = new InputSelectCardsFromList(1,1, creats);
targetHaunted.setMessage("Choose target creature to haunt."); targetHaunted.setMessage("Choose target creature to haunt.");