mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
Issue#453: possibly correct fix for Commander abilities displayed twice
This commit is contained in:
parent
69ce53e6e8
commit
bf7fe02a32
2 changed files with 5 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue