Merge branch 'patch-1else' into 'master'

Fix CopyPermanentEffect

See merge request core-developers/forge!376
This commit is contained in:
Michael Kamensky
2018-04-10 17:50:18 +00:00

View File

@@ -166,7 +166,7 @@ public class CopyPermanentEffect extends SpellAbilityEffect {
tgtCards.add(Card.fromPaperCard(cards.get(0), controller));
}
}
} if (sa.hasParam("Choices")) {
} else if (sa.hasParam("Choices")) {
CardCollectionView choices = game.getCardsIn(ZoneType.Battlefield);
choices = CardLists.getValidCards(choices, sa.getParam("Choices"), activator, host);
if (!choices.isEmpty()) {