Fixed bug that not controlled permanents could not be targeted.

This commit is contained in:
LevelX2 2013-03-17 16:11:55 +01:00
parent 8cf2514edb
commit 82bb03ba86

View file

@ -41,7 +41,7 @@ import mage.abilities.effects.common.DestroyTargetEffect;
import mage.abilities.effects.common.UntapSourceEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.cards.CardImpl;
import mage.filter.common.FilterControlledPermanent;
import mage.filter.FilterPermanent;
import mage.filter.predicate.Predicates;
import mage.filter.predicate.mageobject.CardTypePredicate;
import mage.target.Target;
@ -52,7 +52,7 @@ import mage.target.TargetPermanent;
* @author Loki
*/
public class EtherswornAdjudicator extends CardImpl<EtherswornAdjudicator> {
private static final FilterControlledPermanent filter = new FilterControlledPermanent("creature or enchantment");
private static final FilterPermanent filter = new FilterPermanent("creature or enchantment");
static {
filter.add(Predicates.or(