LandAbility: skip if already in Battlefield

This commit is contained in:
Hans Mackowiak
2024-08-25 09:12:55 +02:00
parent 2dc025bf67
commit 3ef0479d76

View File

@@ -54,7 +54,7 @@ public class LandAbility extends AbilityStatic {
public boolean canPlay() {
Card land = this.getHostCard();
final Player p = this.getActivatingPlayer();
if (p == null) {
if (p == null || land.isInZone(ZoneType.Battlefield)) {
return false;
}
if (this.getCardState() != null && land.getCurrentStateName() != this.getCardStateName()) {