Move canPlaySorcery() to ActivatedAbility.canActivate().

This commit is contained in:
rkfg 2016-03-07 01:07:08 +03:00
parent 88d17d7ed9
commit 66040f0c1f
2 changed files with 3 additions and 6 deletions

View file

@ -56,7 +56,7 @@ public class PlayLandAbility extends ActivatedAbilityImpl {
return false;
}
//20091005 - 114.2a
return game.getActivePlayerId().equals(playerId) && game.getPlayer(playerId).canPlayLand();
return game.getActivePlayerId().equals(playerId) && game.getPlayer(playerId).canPlayLand() && game.canPlaySorcery(playerId);
}
@Override