mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
* Fixed a problem with calculation of playable lands.
This commit is contained in:
parent
5a2febc385
commit
121e55f1d7
2 changed files with 2 additions and 7 deletions
|
@ -56,7 +56,7 @@ public class PlayLandAbility extends ActivatedAbilityImpl {
|
|||
return false;
|
||||
}
|
||||
//20091005 - 114.2a
|
||||
return game.getPlayer(playerId).canPlayLand();
|
||||
return game.getActivePlayerId().equals(playerId) && game.getPlayer(playerId).canPlayLand();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1057,12 +1057,7 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
if (!playLandAbility.canActivate(this.playerId, game)) {
|
||||
return false;
|
||||
}
|
||||
if (ignoreTiming) {
|
||||
if (!game.getActivePlayerId().equals(playerId)) {
|
||||
// Also if a land can be played during the resolution of another spell, it has to be the turn of the player playing the land
|
||||
return false;
|
||||
}
|
||||
} else if (!game.canPlaySorcery(playerId)) {
|
||||
if (!ignoreTiming && !game.canPlaySorcery(playerId)) {
|
||||
return false;
|
||||
}
|
||||
//20091005 - 305.1
|
||||
|
|
Loading…
Reference in a new issue