Update CardImageRenderer.java

This commit is contained in:
Anthony Calosa
2022-07-26 08:18:52 +08:00
committed by GitHub
parent 052a2bd16a
commit 9b37b25a74

View File

@@ -724,7 +724,7 @@ public class CardImageRenderer {
return; return;
} }
if (image == ImageCache.defaultImage || Forge.enableUIMask.equals("Art")) { //support drawing card image manually if card image not found if (image == ImageCache.getDefaultImage() || Forge.enableUIMask.equals("Art")) { //support drawing card image manually if card image not found
drawCardImage(g, card, altState, x, y, w, h, CardStackPosition.Top, true, true); drawCardImage(g, card, altState, x, y, w, h, CardStackPosition.Top, true, true);
} else { } else {
float radius = (h - w)/8; float radius = (h - w)/8;