remove assignation as parameter
@@ -13,7 +13,7 @@ public class CastCommanderAbility extends SpellAbility {
public CastCommanderAbility(Card card) {
super(card.getSpellAbility());
this.newId();
- this.setCardName(cardName = card.getName());
+ this.setCardName(card.getName());
zone = Zone.COMMAND;
spellAbilityType = SpellAbilityType.BASE;
}
