forked from External/mage
Improved logs on card create exceptions, fixed broken tests
This commit is contained in:
parent
0840fa9e0d
commit
c11a16d115
2 changed files with 14 additions and 3 deletions
|
|
@ -29,6 +29,7 @@
|
|||
package mage.target.common;
|
||||
|
||||
import mage.constants.SuperType;
|
||||
import mage.filter.common.FilterLandPermanent;
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.filter.predicate.mageobject.SupertypePredicate;
|
||||
|
||||
|
|
@ -39,7 +40,8 @@ import mage.filter.predicate.mageobject.SupertypePredicate;
|
|||
public class TargetNonBasicLandPermanent extends TargetLandPermanent {
|
||||
|
||||
public TargetNonBasicLandPermanent() {
|
||||
filter.add(Predicates.not(new SupertypePredicate(SuperType.BASIC)));
|
||||
this.filter = new FilterLandPermanent();
|
||||
this.filter.add(Predicates.not(new SupertypePredicate(SuperType.BASIC)));
|
||||
this.targetName = "nonbasic land";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue