mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
support UST extended art
This commit is contained in:
@@ -21,9 +21,10 @@ final class ImageLoader extends CacheLoader<String, Texture> {
|
||||
boolean extendedArt = false;
|
||||
boolean textureFilter = Forge.isTextureFilteringEnabled();
|
||||
if (key.length() > 4){
|
||||
if ((key.substring(0,4).contains("MPS_"))) //TODO add sets to get all extended art???
|
||||
if ((key.substring(0,4).contains("MPS_"))) //MPS_ sets
|
||||
extendedArt = true;
|
||||
else if ((key.substring(0,3).contains("UST"))) //Unstable Set
|
||||
extendedArt = true;
|
||||
//use generated extended art... it will preload the cache at startup so... yeah! :)
|
||||
}
|
||||
File file = ImageKeys.getImageFile(key);
|
||||
if (file != null) {
|
||||
|
||||
Reference in New Issue
Block a user