replaced Card instances in client with MockCard

This commit is contained in:
North 2013-06-19 22:53:53 +03:00
parent e9b81dd006
commit 1b3a51484e
9 changed files with 19 additions and 15 deletions

View file

@ -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()));
}