From 8e50d42099e7be0332290314cf7cdc2dd62628d8 Mon Sep 17 00:00:00 2001 From: Sloth Date: Sat, 22 Jun 2013 10:08:03 +0000 Subject: [PATCH] - Fixed spells without costs being playable. --- src/main/java/forge/card/spellability/Spell.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/forge/card/spellability/Spell.java b/src/main/java/forge/card/spellability/Spell.java index 4483a02f3d8..747a3c12808 100644 --- a/src/main/java/forge/card/spellability/Spell.java +++ b/src/main/java/forge/card/spellability/Spell.java @@ -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; }