From 83a26a00073b6fec18f50e688385a37d39b5e99d Mon Sep 17 00:00:00 2001 From: Zzooouhh Date: Thu, 11 Jan 2018 18:22:35 +0000 Subject: [PATCH] Moved PermanentInListPredicate to common predicates --- Mage.Sets/src/mage/cards/b/BalduvianWarlord.java | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/Mage.Sets/src/mage/cards/b/BalduvianWarlord.java b/Mage.Sets/src/mage/cards/b/BalduvianWarlord.java index 2da4a8907d..7620a427d2 100644 --- a/Mage.Sets/src/mage/cards/b/BalduvianWarlord.java +++ b/Mage.Sets/src/mage/cards/b/BalduvianWarlord.java @@ -48,7 +48,7 @@ import mage.constants.PhaseStep; import mage.constants.Zone; import mage.filter.common.FilterAttackingCreature; import mage.filter.common.FilterBlockingCreature; -import mage.filter.predicate.Predicate; +import mage.filter.predicate.permanent.PermanentInListPredicate; import mage.game.Game; import mage.game.combat.CombatGroup; import mage.game.events.GameEvent; @@ -177,17 +177,3 @@ class BalduvianWarlordUnblockEffect extends OneShotEffect { return false; } } - -class PermanentInListPredicate implements Predicate { - - private final List permanents; - - public PermanentInListPredicate(List permanents) { - this.permanents = permanents; - } - - @Override - public boolean apply(Permanent input, Game game) { - return permanents.contains(input); - } -}