From 31648dbc0ebb941f5533eec5f02338d87c067bfa Mon Sep 17 00:00:00 2001 From: Zzooouhh Date: Fri, 29 Dec 2017 05:31:55 +0100 Subject: [PATCH] Changed PermanentImpl to Permanent --- .../java/mage/abilities/effects/AuraReplacementEffect.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Mage/src/main/java/mage/abilities/effects/AuraReplacementEffect.java b/Mage/src/main/java/mage/abilities/effects/AuraReplacementEffect.java index 208f0431f3..7037434d07 100644 --- a/Mage/src/main/java/mage/abilities/effects/AuraReplacementEffect.java +++ b/Mage/src/main/java/mage/abilities/effects/AuraReplacementEffect.java @@ -40,7 +40,6 @@ import mage.game.events.GameEvent; import mage.game.events.ZoneChangeEvent; import mage.game.permanent.Permanent; import mage.game.permanent.PermanentCard; -import mage.game.permanent.PermanentImpl; import mage.game.stack.StackAbility; import mage.players.Player; import mage.target.Target; @@ -99,7 +98,7 @@ public class AuraReplacementEffect extends ReplacementEffectImpl { // Aura enters the battlefield attached Object object = game.getState().getValue("attachTo:" + card.getId()); if (object != null) { - if (object instanceof PermanentImpl) { + if (object instanceof Permanent) { // Aura is attached to a permanent on the battlefield return false; }