mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Fixed generation of Wastes in OGW fat packs and an associated crash when trying to foil a non-existent Wastes in such a fat pack.
This commit is contained in:
@@ -332,7 +332,7 @@ public class BoosterGenerator {
|
||||
src = StaticData.instance().getPrintSheets().get(sheetName).toFlatList();
|
||||
setPred = Predicates.alwaysTrue();
|
||||
|
||||
} else if (mainCode.startsWith("promo")) { // get exactly the named cards, that's a tiny inlined print sheet
|
||||
} else if (mainCode.startsWith("promo") || mainCode.startsWith("name")) { // get exactly the named cards, that's a tiny inlined print sheet
|
||||
|
||||
String list = StringUtils.strip(mainCode.substring(5), "() ");
|
||||
String[] cardNames = TextUtil.splitWithParenthesis(list, ',', '"', '"');
|
||||
|
||||
@@ -58,7 +58,7 @@ FRF: 9 Boosters, 80 BasicLands
|
||||
DTK: 9 Boosters, 80 BasicLands
|
||||
ORI: 9 Boosters, 80 BasicLands
|
||||
BFZ: 9 Boosters, 80 BasicLands
|
||||
OGW: 9 Boosters, 66 BasicLands BFZ, 14 name('Wastes')
|
||||
OGW: 9 Boosters, 66 BasicLands BFZ, 14 name("Wastes")
|
||||
SOI: 9 Boosters, 80 BasicLands
|
||||
EMN: 9 Boosters, 80 BasicLands SOI
|
||||
KLD: 10 Boosters, 80 BasicLands
|
||||
|
||||
Reference in New Issue
Block a user