mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
- Send unsupported card names to the console so that the user is aware of which cards failed to load when the decks were parsed.
This commit is contained in:
@@ -77,8 +77,10 @@ public class CardPool extends ItemPool<PaperCard> {
|
||||
cardName = cp.getName();
|
||||
artCount = isCommonCard ? StaticData.instance().getCommonCards().getArtCount(cardName, setCode) : 1;
|
||||
}
|
||||
else
|
||||
else {
|
||||
System.err.println(String.format("An unsupported card was found when loading Forge decks: %s", cardName));
|
||||
cp = PaperCard.createUnsuportedCard(cardName);
|
||||
}
|
||||
|
||||
if (artIndexExplicitlySet || artCount <= 1) {
|
||||
// either a specific art index is specified, or there is only one art, so just add the card
|
||||
|
||||
Reference in New Issue
Block a user