From 2eebdb3b5bcbf96d33ef63aaac639993fc0fdc11 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Fri, 14 Feb 2014 15:11:36 +0100 Subject: [PATCH] Fixed a recently committed bug that added cardType and subtype of tokens cumulative on each permanent reset. --- Mage/src/mage/game/permanent/PermanentToken.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Mage/src/mage/game/permanent/PermanentToken.java b/Mage/src/mage/game/permanent/PermanentToken.java index 9c7eb0ebad4..8735cb10f52 100644 --- a/Mage/src/mage/game/permanent/PermanentToken.java +++ b/Mage/src/mage/game/permanent/PermanentToken.java @@ -75,12 +75,12 @@ public class PermanentToken extends PermanentImpl { 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