- Fixed filter Commit/Memory

This commit is contained in:
Achilles 2017-04-23 14:03:12 -05:00
parent 4e1572bc62
commit 747c76519e

View file

@ -41,9 +41,8 @@ import mage.constants.CardType;
import mage.constants.Outcome;
import mage.constants.SpellAbilityType;
import mage.constants.Zone;
import mage.filter.common.FilterNonlandPermanent;
import mage.filter.common.FilterSpellOrPermanent;
import mage.filter.predicate.Predicates;
import mage.filter.predicate.mageobject.CardTypePredicate;
import mage.game.Game;
import mage.game.permanent.Permanent;
import mage.game.stack.Spell;
@ -59,7 +58,7 @@ public class CommitMemory extends SplitCard {
private static final FilterSpellOrPermanent filter = new FilterSpellOrPermanent("spell or nonland permanent");
static {
filter.add(Predicates.not(new CardTypePredicate(CardType.LAND)));
filter.setPermanentFilter(new FilterNonlandPermanent());
}
public CommitMemory(UUID ownerId, CardSetInfo setInfo) {