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);
|
||||
}
|
||||
if (abMana.getExpressChoice().isEmpty()) {
|
||||
final StringBuilder sb = new StringBuilder();
|
||||
sb.append("AbilityFactoryMana::manaResolve() - combo mana color choice is empty for ");
|
||||
sb.append(sa.getSourceCard().getName());
|
||||
throw new RuntimeException(sb.toString());
|
||||
if (abMana.getExpressChoice().isEmpty() && amount > 0) {
|
||||
System.out.println("AbilityFactoryMana::manaResolve() - combo mana color choice is empty for " + sa.getSourceCard().getName());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user