Issue#453: possibly correct fix for Commander abilities displayed twice

This commit is contained in:
magenoxx 2014-07-30 22:43:18 +04:00
parent 69ce53e6e8
commit bf7fe02a32
2 changed files with 5 additions and 6 deletions

View file

@ -27,11 +27,12 @@
*/
package mage.view;
import java.io.Serializable;
import mage.cards.Card;
import mage.constants.MageObjectType;
import mage.game.command.Commander;
import java.io.Serializable;
/**
*
* @author Plopman
@ -40,7 +41,6 @@ public class CommanderView extends CardView implements CommandObjectView, Serial
public CommanderView(Commander commander, Card sourceCard) {
super(sourceCard);
rules.addAll(commander.getAbilities().getRules(sourceCard.getName()));
this.mageObjectType = MageObjectType.COMMANDER;
}