mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- Fixed a possible NPE with Molten Influence.
This commit is contained in:
@@ -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?
|
// Is this Usable Mana Sources? Or Total Available Mana?
|
||||||
final int usableManaSources = CardFactoryUtil.getUsableManaSources(AllZone.getHumanPlayer());
|
final int usableManaSources = CardFactoryUtil.getUsableManaSources(AllZone.getHumanPlayer());
|
||||||
int toPay = 0;
|
int toPay = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user