Add castable cards available from command

- if somehow you have a lot of cards mixed in graveyard or exile, this will be an easier way to find them
This commit is contained in:
Anthony Calosa
2021-03-05 17:55:46 +00:00
parent 9a386c512f
commit f206a5f084

View File

@@ -55,7 +55,7 @@ public class ConquestRegion {
PaperCard pc = cardPool.getCard(artCardName); PaperCard pc = cardPool.getCard(artCardName);
if (pc == null) { if (pc == null) {
pc = FModel.getMagicDb().getCommonCards().getCard(artCardName); pc = FModel.getMagicDb().getCommonCards().getUniqueByName(artCardName);
if (!pc.getName().equals(artCardName) && Card.fromPaperCard(pc, null).hasAlternateState()) { if (!pc.getName().equals(artCardName) && Card.fromPaperCard(pc, null).hasAlternateState()) {
art = GuiBase.getInterface().getCardArt(pc, true); art = GuiBase.getInterface().getCardArt(pc, true);
} else { } else {