mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
update per pull request feedback
This commit is contained in:
parent
03cec66bae
commit
e0625f2036
1 changed files with 3 additions and 0 deletions
|
@ -121,6 +121,9 @@ public class DontUntapInOpponentsNextUntapStepAllEffect extends ContinuousRuleMo
|
|||
Permanent permanent = game.getPermanent(event.getTargetId());
|
||||
if (permanent != null) {
|
||||
Player controller = game.getPlayer(source.getControllerId());
|
||||
if (!permanent.getControllerId().equals(getTargetPointer().getFirst(game, source))) {
|
||||
return false;
|
||||
}
|
||||
if (controller != null && !game.isOpponent(controller, permanent.getControllerId())) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue