mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
rewrite with staticfilter
This commit is contained in:
parent
6d16e41ec3
commit
27ec3431ee
1 changed files with 3 additions and 2 deletions
|
@ -28,6 +28,7 @@
|
|||
|
||||
package mage.target.common;
|
||||
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
|
@ -38,11 +39,11 @@ import mage.target.TargetPermanent;
|
|||
public class TargetControlledPermanent extends TargetPermanent {
|
||||
|
||||
public TargetControlledPermanent() {
|
||||
this(1, 1, new FilterControlledPermanent(), false);
|
||||
this(1, 1, StaticFilters.FILTER_CONTROLLED_PERMANENT, false);
|
||||
}
|
||||
|
||||
public TargetControlledPermanent(int numTargets) {
|
||||
this(numTargets, numTargets, new FilterControlledPermanent(), false);
|
||||
this(numTargets, numTargets, StaticFilters.FILTER_CONTROLLED_PERMANENT, false);
|
||||
}
|
||||
|
||||
public TargetControlledPermanent(FilterControlledPermanent filter) {
|
||||
|
|
Loading…
Reference in a new issue