From e80cfbeb2c331b14f113b95974200db4c21e275a Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Fri, 20 Dec 2019 20:54:23 +0100 Subject: [PATCH] * Fixed a problem of the card filtering of RevealLibraryPutIntoHand (fixes a problem of Brass Herald moving all cards to hand). --- .../effects/common/RevealLibraryPutIntoHandEffect.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Mage/src/main/java/mage/abilities/effects/common/RevealLibraryPutIntoHandEffect.java b/Mage/src/main/java/mage/abilities/effects/common/RevealLibraryPutIntoHandEffect.java index 7272cc71dee..f5243a07733 100644 --- a/Mage/src/main/java/mage/abilities/effects/common/RevealLibraryPutIntoHandEffect.java +++ b/Mage/src/main/java/mage/abilities/effects/common/RevealLibraryPutIntoHandEffect.java @@ -1,4 +1,3 @@ - package mage.abilities.effects.common; import java.util.Set; @@ -73,7 +72,7 @@ public class RevealLibraryPutIntoHandEffect extends OneShotEffect { Set cardsList = cards.getCards(game); Cards cardsToHand = new CardsImpl(); for (Card card : cardsList) { - if (filter.match(card, game)) { + if (filter.match(card, source.getSourceId(), controller.getId(), game)) { cardsToHand.add(card); cards.remove(card); }