mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Island Sanctuary did not check for active player, so it could trigger in other players' draw steps. Added extra check for this. Solves #7999
This commit is contained in:
parent
a11dd6020a
commit
4546ee516b
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class IslandSanctuaryEffect extends ReplacementEffectImpl {
|
|||
|
||||
@Override
|
||||
public boolean applies(GameEvent event, Ability source, Game game) {
|
||||
return source.isControlledBy(event.getPlayerId()) && game.getTurn().getStepType() == PhaseStep.DRAW;
|
||||
return source.isControlledBy(event.getPlayerId()) && game.getTurn().getStepType() == PhaseStep.DRAW && game.getActivePlayerId().equals(event.getPlayerId());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue