mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- Fixed overeager RuntimeException caused by Coalition Relic.
This commit is contained in:
@@ -95,11 +95,8 @@ public class ManaEffect extends SpellAbilityEffect {
|
|||||||
}
|
}
|
||||||
abMana.setExpressChoice(manaString);
|
abMana.setExpressChoice(manaString);
|
||||||
}
|
}
|
||||||
if (abMana.getExpressChoice().isEmpty()) {
|
if (abMana.getExpressChoice().isEmpty() && amount > 0) {
|
||||||
final StringBuilder sb = new StringBuilder();
|
System.out.println("AbilityFactoryMana::manaResolve() - combo mana color choice is empty for " + sa.getSourceCard().getName());
|
||||||
sb.append("AbilityFactoryMana::manaResolve() - combo mana color choice is empty for ");
|
|
||||||
sb.append(sa.getSourceCard().getName());
|
|
||||||
throw new RuntimeException(sb.toString());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user