mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
toString tweak in CostRemoveCounter for "All"
This commit is contained in:
@@ -37,6 +37,10 @@ public class CostRemoveCounter extends CostPart {
|
|||||||
Integer i = convertAmount();
|
Integer i = convertAmount();
|
||||||
sb.append(Cost.convertAmountTypeToWords(i, amount, counter.getName()+" counter"));
|
sb.append(Cost.convertAmountTypeToWords(i, amount, counter.getName()+" counter"));
|
||||||
|
|
||||||
|
if (amount.equals("All")) {
|
||||||
|
sb.append("s");
|
||||||
|
}
|
||||||
|
|
||||||
sb.append(" from ").append(typeDescription == null ? type : typeDescription);
|
sb.append(" from ").append(typeDescription == null ? type : typeDescription);
|
||||||
}
|
}
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
|
|||||||
Reference in New Issue
Block a user