mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Fixed a recently committed bug that added cardType and subtype of tokens cumulative on each permanent reset.
This commit is contained in:
parent
ce8616052b
commit
2eebdb3b5b
1 changed files with 3 additions and 3 deletions
|
@ -75,12 +75,12 @@ public class PermanentToken extends PermanentImpl<PermanentToken> {
|
|||
for (ManaCost cost: token.getManaCost()) {
|
||||
this.getManaCost().add(cost.copy());
|
||||
}
|
||||
this.cardType.addAll(token.getCardType());
|
||||
this.cardType = token.getCardType();
|
||||
this.color = token.getColor().copy();
|
||||
this.power.initValue(token.getPower().getValue());
|
||||
this.toughness.initValue(token.getToughness().getValue());
|
||||
this.supertype.addAll(token.getSupertype());
|
||||
this.subtype.addAll(token.getSubtype());
|
||||
this.supertype = token.getSupertype();
|
||||
this.subtype = token.getSubtype();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue