From 8b427de2d35c80979301fc664aedac54832c04bb Mon Sep 17 00:00:00 2001 From: "Saga\\Robert" Date: Mon, 14 Aug 2017 15:15:36 +0200 Subject: [PATCH] - changed nonland filter to static filter --- Mage.Sets/src/mage/cards/c/CurseOfBounty.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mage.Sets/src/mage/cards/c/CurseOfBounty.java b/Mage.Sets/src/mage/cards/c/CurseOfBounty.java index b3bd01a2a2e..afd5848c318 100644 --- a/Mage.Sets/src/mage/cards/c/CurseOfBounty.java +++ b/Mage.Sets/src/mage/cards/c/CurseOfBounty.java @@ -47,6 +47,7 @@ import mage.target.targetpointer.FixedTarget; import java.util.UUID; import mage.abilities.effects.OneShotEffect; import mage.abilities.effects.common.UntapAllControllerEffect; +import mage.filter.StaticFilters; import mage.filter.common.FilterNonlandPermanent; import mage.players.Player; @@ -141,7 +142,7 @@ class UntapAllNonlandsTargetEffect extends OneShotEffect { public boolean apply(Game game, Ability source) { Player player = game.getPlayer(this.getTargetPointer().getFirst(game, source)); if (player != null) { - for (Permanent nonland: game.getBattlefield().getAllActivePermanents(new FilterNonlandPermanent(), player.getId(), game)) { + for (Permanent nonland: game.getBattlefield().getAllActivePermanents(StaticFilters.FILTER_PERMANENT_NON_LAND, player.getId(), game)) { nonland.untap(game); } return true;