From 1fbf5e8760d21d61e627f7bf53b79574c65a27c0 Mon Sep 17 00:00:00 2001 From: xenohedron Date: Thu, 21 Dec 2023 22:09:37 -0500 Subject: [PATCH] fix #11558 (For the Ancestors) --- Mage.Sets/src/mage/cards/f/ForTheAncestors.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage.Sets/src/mage/cards/f/ForTheAncestors.java b/Mage.Sets/src/mage/cards/f/ForTheAncestors.java index 216afdc577b..daa5d680efc 100644 --- a/Mage.Sets/src/mage/cards/f/ForTheAncestors.java +++ b/Mage.Sets/src/mage/cards/f/ForTheAncestors.java @@ -15,7 +15,7 @@ import mage.filter.predicate.Predicate; import mage.game.Game; import mage.players.Player; import mage.target.TargetCard; -import mage.target.common.TargetCardInHand; +import mage.target.common.TargetCardInLibrary; import java.util.UUID; @@ -80,7 +80,7 @@ class ForTheAncestorsEffect extends OneShotEffect { filter.add((Predicate) (input, game1) -> false); } Cards cards = new CardsImpl(player.getLibrary().getTopCards(game, 6)); - TargetCard target = new TargetCardInHand(0, Integer.MAX_VALUE, filter); + TargetCard target = new TargetCardInLibrary(0, Integer.MAX_VALUE, filter); player.choose(outcome, cards, target, source, game); Cards toHand = new CardsImpl(target.getTargets()); player.revealCards(source, toHand, game);