diff --git a/Mage/src/mage/game/permanent/PermanentToken.java b/Mage/src/mage/game/permanent/PermanentToken.java index b031dfb925..1dd72f618f 100644 --- a/Mage/src/mage/game/permanent/PermanentToken.java +++ b/Mage/src/mage/game/permanent/PermanentToken.java @@ -28,14 +28,14 @@ package mage.game.permanent; +import java.util.UUID; import mage.Constants.Zone; import mage.abilities.Ability; +import mage.abilities.costs.mana.ManaCost; import mage.game.Game; import mage.game.events.ZoneChangeEvent; import mage.game.permanent.token.Token; -import java.util.UUID; -import mage.abilities.costs.mana.ManaCost; /** * @@ -45,10 +45,11 @@ public class PermanentToken extends PermanentImpl { protected Token token; - public PermanentToken(Token token, UUID controllerId, String expansionSetCode) { + public PermanentToken(Token token, UUID controllerId, String expansionSetCode, Game game) { super(controllerId, controllerId, token.getName()); - this.token = token; this.expansionSetCode = expansionSetCode; + this.token = token; + this.copyFromToken(this.token, game); // needed to have e.g. subtypes for entersTheBattlefield replacement effects } public PermanentToken(final PermanentToken permanent) { diff --git a/Mage/src/mage/game/permanent/token/Token.java b/Mage/src/mage/game/permanent/token/Token.java index 8aa28babe6..e651017ba7 100644 --- a/Mage/src/mage/game/permanent/token/Token.java +++ b/Mage/src/mage/game/permanent/token/Token.java @@ -113,7 +113,7 @@ public class Token extends MageObjectImpl { if (!game.replaceEvent(event)) { amount = event.getAmount(); for (int i = 0; i < amount; i++) { - PermanentToken permanent = new PermanentToken(this, controllerId, setCode); + PermanentToken permanent = new PermanentToken(this, controllerId, setCode, game); game.getState().addCard(permanent); game.getBattlefield().addPermanent(permanent); this.lastAddedTokenId = permanent.getId();