Fix Lion's Eye Diamond check (#3791)

This commit is contained in:
tool4ever
2023-09-18 17:46:43 +02:00
committed by GitHub
parent 5b6d435d29
commit e7bd1e4776

View File

@@ -584,7 +584,7 @@ public class SpellAbilityRestriction extends SpellAbilityVariables {
}
// Special check for Lion's Eye Diamond
if (sa.isManaAbility() && c.getGame().getStack().isFrozen() && isInstantSpeed()) {
if (sa.isManaAbility() && c.getGame().costPaymentStack.peek() != null && isInstantSpeed()) {
return false;
}