- 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:
Agetian
2017-07-27 18:28:37 +00:00
parent fd7e19d339
commit 0612d447dc
2 changed files with 2 additions and 2 deletions

View File

@@ -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, ',', '"', '"');

View File

@@ -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