mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- Fixed spells without costs being playable.
This commit is contained in:
@@ -90,8 +90,9 @@ public abstract class Spell extends SpellAbility implements java.io.Serializable
|
||||
if (!this.getRestrictions().canPlay(card, this)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// for uncastables like lotus bloom, check if manaCost is blank
|
||||
if (isBasicSpell() && (getPayCosts() == null || getPayCosts().getTotalMana().isNoCost())) {
|
||||
if (isBasicSpell() && card.getManaCost().isNoCost()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user