Missed some references to instanceof AdventureCard

replaced with CardWithSpellOption
This commit is contained in:
jmlundeen 2025-04-08 09:34:24 -05:00
parent 7b94324871
commit 63781e9ca1
8 changed files with 17 additions and 18 deletions

View file

@ -2379,7 +2379,7 @@ public class HumanPlayer extends PlayerImpl {
Card mainCard = game.getCard(CardUtil.getMainCardId(game, ability.getSourceId()));
if (mainCard != null && !Zone.BATTLEFIELD.equals(game.getState().getZone(mainCard.getId()))) {
if (mainCard instanceof SplitCard
|| mainCard instanceof AdventureCard
|| mainCard instanceof CardWithSpellOption
|| mainCard instanceof ModalDoubleFacedCard) {
return false;
}