From 973c2a08e3ff435bf3dfb74e11c36b0d09817d3a Mon Sep 17 00:00:00 2001 From: dilnu Date: Tue, 14 Aug 2018 23:11:28 -0400 Subject: [PATCH] Remove an extra incorrect check in ArtifactSourcePredicate --- .../filter/predicate/ability/ArtifactSourcePredicate.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Mage/src/main/java/mage/filter/predicate/ability/ArtifactSourcePredicate.java b/Mage/src/main/java/mage/filter/predicate/ability/ArtifactSourcePredicate.java index 4759412ebd..e5deb8194e 100644 --- a/Mage/src/main/java/mage/filter/predicate/ability/ArtifactSourcePredicate.java +++ b/Mage/src/main/java/mage/filter/predicate/ability/ArtifactSourcePredicate.java @@ -1,9 +1,6 @@ package mage.filter.predicate.ability; -import mage.MageObject; -import mage.abilities.Ability; -import mage.constants.AbilityType; import mage.filter.predicate.Predicate; import mage.game.Game; import mage.game.stack.StackAbility; @@ -22,7 +19,7 @@ public class ArtifactSourcePredicate implements Predicate { public boolean apply(StackObject input, Game game) { if (input instanceof StackAbility) { StackAbility ability = (StackAbility) input; - return ability.getSourceObject(game).isArtifact() && ability.getAbilityType() == AbilityType.ACTIVATED; + return ability.getSourceObject(game).isArtifact(); } return false; }