mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
missing HQ pic won't crash cardloader
This commit is contained in:
@@ -272,7 +272,7 @@ public class CardRulesReader {
|
|||||||
throw new RuntimeException("Unrecognized rarity string <<" + txtRarity + ">>");
|
throw new RuntimeException("Unrecognized rarity string <<" + txtRarity + ">>");
|
||||||
}
|
}
|
||||||
|
|
||||||
final CardInSet cardInSet = new CardInSet(rarity, numIllustrations, pieces[2]);
|
final CardInSet cardInSet = new CardInSet(rarity, numIllustrations, pieces.length > 2 ? pieces[2] : null);
|
||||||
|
|
||||||
setsData.put(setCode, cardInSet);
|
setsData.put(setCode, cardInSet);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user