mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Merge branch 'kevlahnota-master-patch-58460' into 'master'
Update ImageCache.java See merge request core-developers/forge!4399
This commit is contained in:
@@ -77,7 +77,9 @@ public class ImageCache {
|
||||
@Override
|
||||
public void onRemoval(RemovalNotification<String, Texture> removalNotification) {
|
||||
if (removalNotification.wasEvicted()) {
|
||||
removalNotification.getValue().dispose();
|
||||
if (removalNotification.getValue() != ImageCache.defaultImage)
|
||||
removalNotification.getValue().dispose();
|
||||
|
||||
CardRenderer.clearcardArtCache();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user