mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18: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) {
|
if (pc != null) {
|
||||||
original = new BufferedImage(480, 680, BufferedImage.TYPE_INT_ARGB);
|
original = new BufferedImage(480, 680, BufferedImage.TYPE_INT_ARGB);
|
||||||
FCardImageRenderer.drawCardImage(original.createGraphics(), pc, altState, 480, 680);
|
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 {
|
} else {
|
||||||
original = _defaultImage;
|
original = _defaultImage;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user