Fixed Issue 167.

This commit is contained in:
magenoxx 2011-06-26 18:46:23 +04:00
parent 51e3e238af
commit 74b9b53091
8 changed files with 77 additions and 5 deletions

View file

@ -99,7 +99,7 @@ public class CardView implements Serializable {
}
this.expansionSetCode = card.getExpansionSetCode();
this.cardNumber = card.getCardNumber();
if (card instanceof Spell) {
Spell<?> spell = (Spell<?>)card;
if (spell.getSpellAbility().getTargets().size() > 0) {