- Cards in sideboard are now marked in the quest shop as cards present in deck. The bug with the card not being sold correctly from the sideboard is still there for now though.

This commit is contained in:
Agetian
2013-01-14 03:12:24 +00:00
parent 22f657ac85
commit 418ffa0af3

View File

@@ -173,6 +173,11 @@ public final class CEditorQuestCardShop extends ACEditorBase<InventoryItem, Deck
final Integer amount = result.get(card);
result.put(card, Integer.valueOf(amount == null ? 1 : 1 + amount.intValue()));
}
for (final Entry<CardPrinted, Integer> e : deck.getSideboard()) {
final CardPrinted card = e.getKey();
final Integer amount = result.get(card);
result.put(card, Integer.valueOf(amount == null ? 1 : 1 + amount.intValue()));
}
}
return result;
}