- Made hasNoManaCost recognize all 0 mana costs.

This commit is contained in:
Sloth
2013-02-26 20:49:17 +00:00
parent 9576650c0c
commit 81836ed24b

View File

@@ -78,7 +78,7 @@ public class Cost {
* @return a boolean.
*/
public final boolean hasNoManaCost() {
return this.getTotalMana() == ManaCost.ZERO;
return this.getTotalMana().toString().equals(ManaCost.ZERO.toString());
}
/**