combineCosts - bugfix

This commit is contained in:
Maxmtg
2013-04-04 06:12:33 +00:00
parent 5b98f34a6d
commit e518027ff5

View File

@@ -136,6 +136,7 @@ public class CostUtil {
boolean xCanBe0 = ((CostPartMana) part).canXbe0() && costPart2.canXbe0();
oldManaCost.combineManaCost(costPart2.getMana());
cost2.getCostParts().remove(costPart2);
cost2.getCostParts().add(0, new CostPartMana(oldManaCost.toManaCost(), !xCanBe0));
} else {
cost2.getCostParts().add(part);