mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- CheckStyle.
This commit is contained in:
@@ -47,13 +47,15 @@ public class PreconDeck implements InventoryItemFromSet {
|
|||||||
String filenameProxy = null;
|
String filenameProxy = null;
|
||||||
String setProxy = "n/a";
|
String setProxy = "n/a";
|
||||||
List<String> metadata = sections.get("metadata");
|
List<String> metadata = sections.get("metadata");
|
||||||
if (null != metadata && !metadata.isEmpty()) for (String s : metadata) {
|
if (null != metadata && !metadata.isEmpty()) {
|
||||||
String[] kv = s.split("=");
|
for (String s : metadata) {
|
||||||
if ("Image".equalsIgnoreCase(kv[0])) {
|
String[] kv = s.split("=");
|
||||||
filenameProxy = kv[1];
|
if ("Image".equalsIgnoreCase(kv[0])) {
|
||||||
}
|
filenameProxy = kv[1];
|
||||||
if ("set".equalsIgnoreCase(kv[0]) && SetUtils.getSetByCode(kv[1].toUpperCase()) != null) {
|
}
|
||||||
setProxy = kv[1];
|
if ("set".equalsIgnoreCase(kv[0]) && SetUtils.getSetByCode(kv[1].toUpperCase()) != null) {
|
||||||
|
setProxy = kv[1];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
imageFilename = filenameProxy;
|
imageFilename = filenameProxy;
|
||||||
|
|||||||
Reference in New Issue
Block a user