mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 09:48:02 +00:00
update
This commit is contained in:
@@ -176,14 +176,18 @@ public final class ImageKeys {
|
|||||||
//setlookup
|
//setlookup
|
||||||
if (hasSetLookup(filename)) {
|
if (hasSetLookup(filename)) {
|
||||||
toFind.add(filename);
|
toFind.add(filename);
|
||||||
ThreadUtil.getServicePool().submit(() -> {
|
try {
|
||||||
File f = setLookUpFile(filename, fullborderFile);
|
ThreadUtil.getServicePool().submit(() -> {
|
||||||
if (f != null)
|
File f = setLookUpFile(filename, fullborderFile);
|
||||||
cachedCards.put(filename, f);
|
if (f != null)
|
||||||
else //is null
|
cachedCards.put(filename, f);
|
||||||
missingCards.add(filename);
|
else //is null
|
||||||
|
missingCards.add(filename);
|
||||||
|
toFind.remove(filename);
|
||||||
|
});
|
||||||
|
} catch (Exception e) {
|
||||||
toFind.remove(filename);
|
toFind.remove(filename);
|
||||||
});
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//if an image, like phenomenon or planes is missing .full in their filenames but you have an existing images that have .full/.fullborder
|
//if an image, like phenomenon or planes is missing .full in their filenames but you have an existing images that have .full/.fullborder
|
||||||
|
|||||||
Reference in New Issue
Block a user