toString tweak in CostRemoveCounter for "All"

This commit is contained in:
slapshot5
2011-10-15 11:57:27 +00:00
parent af336b0f06
commit 462cb84694

View File

@@ -37,6 +37,10 @@ public class CostRemoveCounter extends CostPart {
Integer i = convertAmount();
sb.append(Cost.convertAmountTypeToWords(i, amount, counter.getName()+" counter"));
if (amount.equals("All")) {
sb.append("s");
}
sb.append(" from ").append(typeDescription == null ? type : typeDescription);
}
return sb.toString();