mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Support using art from standard (non-variant) Magic cards in PConq mode when there is no plane art available (e.g. for the newer sets like Kaladesh).
This commit is contained in:
@@ -139,8 +139,12 @@ public class ConquestPlane {
|
||||
for (String name : planeCardNames) {
|
||||
PaperCard pc = variantCards.getCard(name);
|
||||
if (pc == null) {
|
||||
System.out.println("\"" + name + "\" does not correspond to a valid Plane card");
|
||||
continue;
|
||||
// try to get a non-variant Magic card in case a plane card with the given name does not exist
|
||||
pc = FModel.getMagicDb().getCommonCards().getCard(name);
|
||||
if (pc == null) {
|
||||
System.out.println("\"" + name + "\" does not correspond to a valid Plane card or standard Magic card!");
|
||||
continue;
|
||||
}
|
||||
}
|
||||
planeCards.add(pc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user