mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
It helps to actually call the method
This commit is contained in:
parent
76db4c4d01
commit
c782643844
1 changed files with 1 additions and 0 deletions
|
@ -104,6 +104,7 @@ public abstract class CardImpl extends MageObjectImpl implements Card {
|
||||||
this.cardNumber = cardNumber;
|
this.cardNumber = cardNumber;
|
||||||
this.cardType.addAll(Arrays.asList(cardTypes));
|
this.cardType.addAll(Arrays.asList(cardTypes));
|
||||||
this.manaCost.load(costs);
|
this.manaCost.load(costs);
|
||||||
|
setDefaultColor();
|
||||||
if (cardType.contains(CardType.LAND)) {
|
if (cardType.contains(CardType.LAND)) {
|
||||||
Ability ability = new PlayLandAbility(name);
|
Ability ability = new PlayLandAbility(name);
|
||||||
ability.setSourceId(this.getId());
|
ability.setSourceId(this.getId());
|
||||||
|
|
Loading…
Reference in a new issue