mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Don't update image cache if automatically download missing card images is enabled
This commit is contained in:
@@ -205,7 +205,8 @@ public class ImageCache {
|
||||
if (pc != null) {
|
||||
original = new BufferedImage(480, 680, BufferedImage.TYPE_INT_ARGB);
|
||||
FCardImageRenderer.drawCardImage(original.createGraphics(), pc, altState, 480, 680);
|
||||
_CACHE.put(imageKey, original);
|
||||
if (!isPreferenceEnabled(ForgePreferences.FPref.UI_ENABLE_ONLINE_IMAGE_FETCHER))
|
||||
_CACHE.put(imageKey, original);
|
||||
} else {
|
||||
original = _defaultImage;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user