mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Fixed Haunt crash.
This commit is contained in:
@@ -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.");
|
||||||
|
|||||||
Reference in New Issue
Block a user