mirror of
https://github.com/correl/mage.git
synced 2025-01-11 19:13:02 +00:00
Fix #5821 by finding in preferred set
This commit is contained in:
parent
2cb2b5e813
commit
e76ce35467
1 changed files with 1 additions and 1 deletions
|
@ -439,7 +439,7 @@ public class DownloadPicturesService extends DefaultBoundedRangeModel implements
|
|||
throw new IllegalStateException("Second side card can't have empty name.");
|
||||
}
|
||||
|
||||
CardInfo secondSideCard = CardRepository.instance.findCard(card.getSecondSideName());
|
||||
CardInfo secondSideCard = CardRepository.instance.findCardWPreferredSet(card.getSecondSideName(), card.getSetCode(), false);
|
||||
if (secondSideCard == null) {
|
||||
throw new IllegalStateException("Can''t find second side card in database: " + card.getSecondSideName());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue