forked from External/mage
replaced Card instances in client with MockCard
This commit is contained in:
parent
e9b81dd006
commit
1b3a51484e
9 changed files with 19 additions and 15 deletions
|
|
@ -46,7 +46,7 @@ public class CardsViewUtil {
|
|||
|
||||
for (SimpleCardView simple: view.values()) {
|
||||
CardInfo cardInfo = CardRepository.instance.findCard(simple.getExpansionSetCode(), simple.getCardNumber());
|
||||
Card card = cardInfo != null ? cardInfo.getCard() : null;
|
||||
Card card = cardInfo != null ? cardInfo.getMockCard() : null;
|
||||
if (card != null) {
|
||||
cards.put(simple.getId(), new CardView(card, simple.getId()));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue