fixed filterplayerorplaneswalker and filteropponentorplaneswalker

This commit is contained in:
Evan Kranzler 2018-04-21 22:08:30 -04:00
parent 6850364fd3
commit b54cebf6ab
2 changed files with 2 additions and 5 deletions

View file

@ -5,9 +5,7 @@
*/
package mage.filter.common;
import mage.constants.SubType;
import mage.filter.FilterOpponent;
import mage.filter.FilterPermanent;
/**
*
@ -20,7 +18,7 @@ public class FilterOpponentOrPlaneswalker extends FilterPermanentOrPlayer {
}
public FilterOpponentOrPlaneswalker(String name) {
super(name, new FilterPermanent(SubType.getPlaneswalkerTypes(true), "planeswalker"), new FilterOpponent());
super(name, new FilterPlaneswalkerPermanent(), new FilterOpponent());
}
public FilterOpponentOrPlaneswalker(final FilterOpponentOrPlaneswalker filter) {

View file

@ -5,7 +5,6 @@
*/
package mage.filter.common;
import mage.filter.FilterPermanent;
import mage.filter.FilterPlayer;
/**
@ -19,7 +18,7 @@ public class FilterPlayerOrPlaneswalker extends FilterPermanentOrPlayer {
}
public FilterPlayerOrPlaneswalker(String name) {
super(name, new FilterPermanent(), new FilterPlayer());
super(name, new FilterPlaneswalkerPermanent(), new FilterPlayer());
}
public FilterPlayerOrPlaneswalker(final FilterPlayerOrPlaneswalker filter) {