mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
- State effects are now checked after a land is played (fixes the legend rule).
This commit is contained in:
@@ -787,6 +787,7 @@ public class AiController {
|
||||
landsWannaPlay.remove(land);
|
||||
player.playLand(land, false);
|
||||
game.getPhaseHandler().setPriority(player);
|
||||
game.getAction().checkStateEffects();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -86,6 +86,7 @@ public class HumanPlay {
|
||||
if (sa == Ability.PLAY_LAND_SURROGATE) {
|
||||
p.playLand(sa.getSourceCard(), false);
|
||||
p.getGame().getPhaseHandler().setPriority(p);
|
||||
p.getGame().getAction().checkStateEffects();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user