mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
Fixed MWSDeckImporter to import deck when other setCode is used. (e.g. R instead of 3ED)
This commit is contained in:
parent
2153d5ccf5
commit
66733ba260
1 changed files with 2 additions and 1 deletions
|
@ -73,7 +73,8 @@ public class MWSDeckImporter extends DeckImporter {
|
|||
if (!cards.isEmpty()) {
|
||||
cardInfo = cards.get(new Random().nextInt(cards.size()));
|
||||
}
|
||||
} else {
|
||||
}
|
||||
if (cardInfo == null) {
|
||||
cardInfo = CardRepository.instance.findPreferedCoreExpansionCard(lineName, true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue