forked from External/mage
refactored all usages of CardTypePredicate to match the new implementation
This commit is contained in:
parent
f685ee3d69
commit
688be783aa
1069 changed files with 1619 additions and 2732 deletions
|
|
@ -10,7 +10,6 @@ import mage.constants.Duration;
|
|||
import mage.constants.SubType;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.filter.predicate.mageobject.CardTypePredicate;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
|
|
@ -24,7 +23,7 @@ public final class KarnConstructToken extends TokenImpl {
|
|||
private static final FilterControlledPermanent filter = new FilterControlledPermanent("artifacts you control");
|
||||
|
||||
static {
|
||||
filter.add(new CardTypePredicate(CardType.ARTIFACT));
|
||||
filter.add(CardType.ARTIFACT.getPredicate());
|
||||
}
|
||||
|
||||
static final private List<String> tokenImageSets = new ArrayList<>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue