From ec77cecbf66d4d6f92e7988f4afad5da6e92457e Mon Sep 17 00:00:00 2001 From: Jeff Date: Thu, 22 Mar 2018 08:07:40 -0500 Subject: [PATCH] - Removed unneeded spell copy checks --- Mage.Sets/src/mage/cards/a/AvenShrine.java | 5 +---- Mage.Sets/src/mage/cards/d/DwarvenShrine.java | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Mage.Sets/src/mage/cards/a/AvenShrine.java b/Mage.Sets/src/mage/cards/a/AvenShrine.java index 64b88e4c70..c5c2a2b9c8 100644 --- a/Mage.Sets/src/mage/cards/a/AvenShrine.java +++ b/Mage.Sets/src/mage/cards/a/AvenShrine.java @@ -93,10 +93,7 @@ class AvenShrineTriggeredAbility extends TriggeredAbilityImpl { public boolean checkTrigger(GameEvent event, Game game) { Spell spell = game.getStack().getSpell(event.getTargetId()); MageObject mageObject = game.getObject(sourceId); - if (spell != null - && !spell.isCopy() - && spell.getCard() != null - && !spell.getCard().isCopy()) { + if (spell != null) { game.getState().setValue("avenShrine" + mageObject, spell); return true; } diff --git a/Mage.Sets/src/mage/cards/d/DwarvenShrine.java b/Mage.Sets/src/mage/cards/d/DwarvenShrine.java index 7cb9e59e6c..53f37a2c75 100644 --- a/Mage.Sets/src/mage/cards/d/DwarvenShrine.java +++ b/Mage.Sets/src/mage/cards/d/DwarvenShrine.java @@ -93,10 +93,7 @@ class DwarvenShrineTriggeredAbility extends TriggeredAbilityImpl { public boolean checkTrigger(GameEvent event, Game game) { Spell spell = game.getStack().getSpell(event.getTargetId()); MageObject mageObject = game.getObject(sourceId); - if (spell != null - && !spell.isCopy() - && spell.getCard() != null - && !spell.getCard().isCopy()) { + if (spell != null) { game.getState().setValue("dwarvenShrine" + mageObject, spell); return true; }