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,7 +47,8 @@ public class PreconDeck implements InventoryItemFromSet {
|
||||
String filenameProxy = null;
|
||||
String setProxy = "n/a";
|
||||
List<String> metadata = sections.get("metadata");
|
||||
if (null != metadata && !metadata.isEmpty()) for (String s : metadata) {
|
||||
if (null != metadata && !metadata.isEmpty()) {
|
||||
for (String s : metadata) {
|
||||
String[] kv = s.split("=");
|
||||
if ("Image".equalsIgnoreCase(kv[0])) {
|
||||
filenameProxy = kv[1];
|
||||
@@ -56,6 +57,7 @@ public class PreconDeck implements InventoryItemFromSet {
|
||||
setProxy = kv[1];
|
||||
}
|
||||
}
|
||||
}
|
||||
imageFilename = filenameProxy;
|
||||
set = setProxy;
|
||||
recommendedDeals = new SellRules(sections.get("shop"));
|
||||
|
||||
Reference in New Issue
Block a user