forked from External/mage
refactored SupertypePredicate to be part of SuperType
This commit is contained in:
parent
d919818daa
commit
ecf26585b5
190 changed files with 341 additions and 529 deletions
|
|
@ -5,7 +5,6 @@ package mage.target.common;
|
|||
import mage.constants.SuperType;
|
||||
import mage.filter.common.FilterLandPermanent;
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.filter.predicate.mageobject.SupertypePredicate;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -15,7 +14,7 @@ public class TargetNonBasicLandPermanent extends TargetLandPermanent {
|
|||
|
||||
public TargetNonBasicLandPermanent() {
|
||||
this.filter = new FilterLandPermanent();
|
||||
this.filter.add(Predicates.not(new SupertypePredicate(SuperType.BASIC)));
|
||||
this.filter.add(Predicates.not(SuperType.BASIC.getPredicate()));
|
||||
this.targetName = "nonbasic land";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue