From 3f8ae0cf61d502fb559f9808cadd2886248e028d Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Fri, 23 Oct 2015 18:33:31 +0200 Subject: [PATCH] * Infinite Obliteration - Fixed that the cards from players library were not exiled (also realted to other cards that use that effect class). --- ...archTargetGraveyardHandLibraryForCardNameAndExileEffect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage/src/mage/abilities/effects/common/search/SearchTargetGraveyardHandLibraryForCardNameAndExileEffect.java b/Mage/src/mage/abilities/effects/common/search/SearchTargetGraveyardHandLibraryForCardNameAndExileEffect.java index 3f14a35fd38..26a88824f6c 100644 --- a/Mage/src/mage/abilities/effects/common/search/SearchTargetGraveyardHandLibraryForCardNameAndExileEffect.java +++ b/Mage/src/mage/abilities/effects/common/search/SearchTargetGraveyardHandLibraryForCardNameAndExileEffect.java @@ -115,7 +115,7 @@ public abstract class SearchTargetGraveyardHandLibraryForCardNameAndExileEffect filter.setMessage("card named " + cardName + " in the library of " + targetPlayer.getLogName()); TargetCardInLibrary targetLib = new TargetCardInLibrary(0, cardsCount, filter); if (controller.choose(Outcome.Exile, cardsInLibrary, targetLib, game)) { - controller.moveCards(new CardsImpl(target.getTargets()), Zone.EXILED, source, game); + controller.moveCards(new CardsImpl(targetLib.getTargets()), Zone.EXILED, source, game); } targetPlayer.shuffleLibrary(game); }