mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- Somewhat better implementation for getArt in ConquestRegion.
This commit is contained in:
@@ -53,12 +53,13 @@ public class ConquestRegion {
|
|||||||
if (pc == null) {
|
if (pc == null) {
|
||||||
pc = FModel.getMagicDb().getCommonCards().getCard(artCardName);
|
pc = FModel.getMagicDb().getCommonCards().getCard(artCardName);
|
||||||
if (!pc.getName().equals(artCardName) && Card.fromPaperCard(pc, null).hasAlternateState()) {
|
if (!pc.getName().equals(artCardName) && Card.fromPaperCard(pc, null).hasAlternateState()) {
|
||||||
return GuiBase.getInterface().getCardArt(pc, true);
|
art = GuiBase.getInterface().getCardArt(pc, true);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
art = GuiBase.getInterface().getCardArt(pc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
art = GuiBase.getInterface().getCardArt(pc);
|
|
||||||
}
|
|
||||||
return art;
|
return art;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user