mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
Fix parsing of new edition sections
This commit is contained in:
@@ -116,7 +116,7 @@ public final class CardEdition implements Comparable<CardEdition> { // immutable
|
|||||||
}
|
}
|
||||||
|
|
||||||
// reserved names of sections inside edition files, that are not parsed as cards
|
// reserved names of sections inside edition files, that are not parsed as cards
|
||||||
private static final List<String> reservedSectionNames = ImmutableList.of("metadata", "tokens");
|
private static final List<String> reservedSectionNames = ImmutableList.of("metadata", "tokens", "other");
|
||||||
|
|
||||||
// commonly used printsheets with collector number
|
// commonly used printsheets with collector number
|
||||||
public enum EditionSectionWithCollectorNumbers {
|
public enum EditionSectionWithCollectorNumbers {
|
||||||
@@ -127,7 +127,8 @@ public final class CardEdition implements Comparable<CardEdition> { // immutable
|
|||||||
EXTENDED_ART("extended art"),
|
EXTENDED_ART("extended art"),
|
||||||
ALTERNATE_ART("alternate art"),
|
ALTERNATE_ART("alternate art"),
|
||||||
BUY_A_BOX("buy a box"),
|
BUY_A_BOX("buy a box"),
|
||||||
PROMO("promo");
|
PROMO("promo"),
|
||||||
|
BOX_TOPPER("box topper");
|
||||||
|
|
||||||
private final String name;
|
private final String name;
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ public class PrintSheet {
|
|||||||
|
|
||||||
for(CardEdition edition : editions) {
|
for(CardEdition edition : editions) {
|
||||||
for(PrintSheet ps : edition.getPrintSheetsBySection()) {
|
for(PrintSheet ps : edition.getPrintSheetsBySection()) {
|
||||||
System.out.println(ps.name);
|
|
||||||
sheets.add(ps.name, ps);
|
sheets.add(ps.name, ps);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1551,7 +1551,7 @@ Kaya, Ghost Assassin|CN2|2
|
|||||||
|
|
||||||
[JMP Above the Clouds 4]
|
[JMP Above the Clouds 4]
|
||||||
1 Kira, Great Glass-Spinner|JMP
|
1 Kira, Great Glass-Spinner|JMP
|
||||||
1 Windstorm Drake|M21
|
1 Windstorm Drake|JMP
|
||||||
1 Tide Skimmer|M21
|
1 Tide Skimmer|M21
|
||||||
1 Keen Glidemaster|M21
|
1 Keen Glidemaster|M21
|
||||||
1 Roaming Ghostlight|M21
|
1 Roaming Ghostlight|M21
|
||||||
|
|||||||
Reference in New Issue
Block a user