mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
another small fix
This commit is contained in:
parent
379e6629f2
commit
126a59510f
1 changed files with 3 additions and 1 deletions
|
@ -27,6 +27,7 @@ import mage.game.Game;
|
||||||
import mage.game.events.EntersTheBattlefieldEvent;
|
import mage.game.events.EntersTheBattlefieldEvent;
|
||||||
import mage.game.events.GameEvent;
|
import mage.game.events.GameEvent;
|
||||||
import mage.game.permanent.Permanent;
|
import mage.game.permanent.Permanent;
|
||||||
|
import mage.game.permanent.PermanentToken;
|
||||||
import mage.players.Player;
|
import mage.players.Player;
|
||||||
import mage.target.targetpointer.FixedTarget;
|
import mage.target.targetpointer.FixedTarget;
|
||||||
|
|
||||||
|
@ -95,7 +96,8 @@ class RhythmOfTheWildEffect extends ReplacementEffectImpl {
|
||||||
Permanent creature = ((EntersTheBattlefieldEvent) event).getTarget();
|
Permanent creature = ((EntersTheBattlefieldEvent) event).getTarget();
|
||||||
return creature != null
|
return creature != null
|
||||||
&& creature.isControlledBy(source.getControllerId())
|
&& creature.isControlledBy(source.getControllerId())
|
||||||
&& creature.isCreature();
|
&& creature.isCreature()
|
||||||
|
&& !(creature instanceof PermanentToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue