mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
* 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:
parent
69546c82ce
commit
12eec8e1b8
12 changed files with 91 additions and 96 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue