- Fixed overeager RuntimeException caused by Coalition Relic.

This commit is contained in:
Sloth
2013-08-18 06:49:03 +00:00
parent 1563cb4693
commit 03b37b049b

View File

@@ -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());
} }
} }
} }