forked from External/mage
refactored ControllerPredicate
This commit is contained in:
parent
c14a079cc5
commit
9c3b923b3f
783 changed files with 829 additions and 1689 deletions
|
|
@ -7,7 +7,6 @@ import mage.abilities.effects.OneShotEffect;
|
|||
import mage.constants.Outcome;
|
||||
import mage.constants.TargetController;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.predicate.permanent.ControllerPredicate;
|
||||
import mage.filter.predicate.permanent.TokenPredicate;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
|
|
@ -35,7 +34,7 @@ public class PopulateEffect extends OneShotEffect {
|
|||
|
||||
static {
|
||||
filter.add(TokenPredicate.instance);
|
||||
filter.add(new ControllerPredicate(TargetController.YOU));
|
||||
filter.add(TargetController.YOU.getControllerPredicate());
|
||||
}
|
||||
|
||||
public PopulateEffect() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue