diff --git a/Mage.Sets/src/mage/cards/d/DragonsApproach.java b/Mage.Sets/src/mage/cards/d/DragonsApproach.java index 1ce8ad9f15..9e4c28d7e4 100644 --- a/Mage.Sets/src/mage/cards/d/DragonsApproach.java +++ b/Mage.Sets/src/mage/cards/d/DragonsApproach.java @@ -41,7 +41,7 @@ public final class DragonsApproach extends CardImpl { this.getSpellAbility().addEffect(new DoIfCostPaid( new SearchLibraryPutInPlayEffect(new TargetCardInLibrary(filter)), new CompositeCost( - new ExileSourceCost(), new ExileFromGraveCost(new TargetCardInYourGraveyard(filter2)), + new ExileSourceCost(), new ExileFromGraveCost(new TargetCardInYourGraveyard(4, filter2)), "exile {this} and four cards named Dragon's Approach from your graveyard" ) )); diff --git a/Mage/src/main/java/mage/abilities/costs/common/ExileSourceCost.java b/Mage/src/main/java/mage/abilities/costs/common/ExileSourceCost.java index 12190a4841..1531dfb7ae 100644 --- a/Mage/src/main/java/mage/abilities/costs/common/ExileSourceCost.java +++ b/Mage/src/main/java/mage/abilities/costs/common/ExileSourceCost.java @@ -8,7 +8,6 @@ import mage.abilities.costs.Cost; import mage.abilities.costs.CostImpl; import mage.cards.Card; import mage.game.Game; -import mage.game.permanent.Permanent; import mage.players.Player; import mage.util.CardUtil; @@ -64,8 +63,7 @@ public class ExileSourceCost extends CostImpl { @Override public boolean canPay(Ability ability, Ability source, UUID controllerId, Game game) { - Permanent permanent = game.getPermanent(source.getSourceId()); - return permanent != null; + return source.getSourceObjectIfItStillExists(game) instanceof Card; } @Override