mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
fixed populate copying noncreature tokens
This commit is contained in:
parent
9579ec1e37
commit
a1074f5759
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
package mage.abilities.effects.common;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
|
@ -7,6 +6,7 @@ import mage.abilities.effects.OneShotEffect;
|
|||
import mage.constants.Outcome;
|
||||
import mage.constants.TargetController;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.filter.predicate.permanent.TokenPredicate;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
|
@ -30,7 +30,7 @@ import mage.target.targetpointer.FixedTarget;
|
|||
public class PopulateEffect extends OneShotEffect {
|
||||
|
||||
private final boolean tappedAndAttacking;
|
||||
private static final FilterPermanent filter = new FilterPermanent("token for populate");
|
||||
private static final FilterPermanent filter = new FilterCreaturePermanent("creature token for populate");
|
||||
|
||||
static {
|
||||
filter.add(TokenPredicate.instance);
|
||||
|
|
Loading…
Reference in a new issue