- Fixed the foil effect in boosters not "unfoiling" itself for multiple cards with the same name in the same card set (e.g. in a booster box).

This commit is contained in:
Agetian
2017-07-25 03:28:51 +00:00
parent 63be38a3c3
commit 8aca69f845

View File

@@ -81,7 +81,7 @@ public final class CardPicturePanel extends JPanel implements ImageFetcher.Callb
final BufferedImage image = getImage();
if (image != null && image != this.currentImage) {
if (displayed instanceof PaperCard && ((PaperCard) displayed).isFoil()) {
if (displayed instanceof PaperCard) {
ColorModel cm = image.getColorModel();
boolean isAlphaPremultiplied = cm.isAlphaPremultiplied();
WritableRaster raster = image.copyData(null);