* Fixed that some sets uses same images for multi-images cards:

* Guilds of Ravnica (GRN), Commander Anthology Volume II (CM2), Battlebond (BBD);
   * From the Vault: Transform (V17), Media Inserts (MBP), WPN and Gateway Promos (GRC);
This commit is contained in:
Oleg Agafonov 2018-10-03 22:06:18 +04:00
parent 69546c82ce
commit 12eec8e1b8
12 changed files with 91 additions and 96 deletions

View file

@ -6,7 +6,7 @@ public final class CardGraphicInfo {
private final ObjectColor frameColor;
private final FrameStyle frameStyle;
private final boolean useVariousArt;
private final boolean useVariousArt; // card in set have multiple images (use to store images files)
public CardGraphicInfo(FrameStyle frameStyle, boolean useVariousArt) {
this(null, frameStyle, useVariousArt);

View file

@ -21,12 +21,7 @@ public final class CardSetInfo implements Serializable {
this.expansionSetCode = expansionSetCode;
this.cardNumber = cardNumber;
this.rarity = rarity;
if (graphicInfo == null && Rarity.LAND == rarity) {
// Workaround to get images of basic land permanents loaded
this.graphicInfo = ExpansionSet.NON_FULL_USE_VARIOUS;
} else {
this.graphicInfo = graphicInfo;
}
this.graphicInfo = graphicInfo;
}
public String getName() {