mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
Update ImageKeys.java
This commit is contained in:
@@ -132,17 +132,19 @@ public final class ImageKeys {
|
|||||||
//setlookup
|
//setlookup
|
||||||
if (!StaticData.instance().getSetLookup().isEmpty()) {
|
if (!StaticData.instance().getSetLookup().isEmpty()) {
|
||||||
for (String setKey : StaticData.instance().getSetLookup().keySet()) {
|
for (String setKey : StaticData.instance().getSetLookup().keySet()) {
|
||||||
for (String setLookup : StaticData.instance().getSetLookup().get(setKey)) {
|
if (filename.startsWith(setKey)) {
|
||||||
//.fullborder lookup
|
for (String setLookup : StaticData.instance().getSetLookup().get(setKey)) {
|
||||||
file = findFile(dir, TextUtil.fastReplace(fullborderFile, setKey, getSetFolder(setLookup)));
|
//.fullborder lookup
|
||||||
if (file != null) { return file; }
|
file = findFile(dir, TextUtil.fastReplace(fullborderFile, setKey, getSetFolder(setLookup)));
|
||||||
file = findFile(dir, TextUtil.fastReplace(fullborderFile, setKey, getSetFolder(setLookup)).replaceAll("[0-9]*.fullborder", "1.fullborder"));
|
if (file != null) { return file; }
|
||||||
if (file != null) { return file; }
|
file = findFile(dir, TextUtil.fastReplace(fullborderFile, setKey, getSetFolder(setLookup)).replaceAll("[0-9]*.fullborder", "1.fullborder"));
|
||||||
//.full lookup
|
if (file != null) { return file; }
|
||||||
file = findFile(dir, TextUtil.fastReplace(filename, setKey, getSetFolder(setLookup)));
|
//.full lookup
|
||||||
if (file != null) { return file; }
|
file = findFile(dir, TextUtil.fastReplace(filename, setKey, getSetFolder(setLookup)));
|
||||||
file = findFile(dir, TextUtil.fastReplace(filename, setKey, getSetFolder(setLookup)).replaceAll("[0-9]*.full", "1.full"));
|
if (file != null) { return file; }
|
||||||
if (file != null) { return file; }
|
file = findFile(dir, TextUtil.fastReplace(filename, setKey, getSetFolder(setLookup)).replaceAll("[0-9]*.full", "1.full"));
|
||||||
|
if (file != null) { return file; }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user