- Fixed a possible NPE with Molten Influence.

This commit is contained in:
Sloth
2012-09-01 12:37:41 +00:00
parent 5e3fd8f3b8
commit eb659cbfef

View File

@@ -280,7 +280,7 @@ public class AbilityFactoryCounterMagic {
}
}
if (this.unlessCost != null) {
if (this.unlessCost != null && !this.unlessCost.startsWith("Damage")) {
// Is this Usable Mana Sources? Or Total Available Mana?
final int usableManaSources = CardFactoryUtil.getUsableManaSources(AllZone.getHumanPlayer());
int toPay = 0;