mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
CardEdition: fix BorderColor
This commit is contained in:
@@ -461,7 +461,7 @@ public final class CardEdition implements Comparable<CardEdition> { // immutable
|
|||||||
res.boosterTpl = boosterDesc == null ? null : new SealedProduct.Template(res.code, SealedProduct.Template.Reader.parseSlots(boosterDesc));
|
res.boosterTpl = boosterDesc == null ? null : new SealedProduct.Template(res.code, SealedProduct.Template.Reader.parseSlots(boosterDesc));
|
||||||
|
|
||||||
res.alias = section.get("alias");
|
res.alias = section.get("alias");
|
||||||
res.borderColor = BorderColor.valueOf(section.get("border", "Black").toUpperCase());
|
res.borderColor = BorderColor.valueOf(section.get("border", "Black").toUpperCase(Locale.ENGLISH));
|
||||||
String type = section.get("type");
|
String type = section.get("type");
|
||||||
Type enumType = Type.UNKNOWN;
|
Type enumType = Type.UNKNOWN;
|
||||||
if (null != type && !type.isEmpty()) {
|
if (null != type && !type.isEmpty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user