mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
fixed filterplayerorplaneswalker and filteropponentorplaneswalker
This commit is contained in:
parent
6850364fd3
commit
b54cebf6ab
2 changed files with 2 additions and 5 deletions
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue