mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
toString tweak in CostRemoveCounter for "All"
This commit is contained in:
@@ -36,6 +36,10 @@ public class CostRemoveCounter extends CostPart {
|
|||||||
sb.append("Remove ");
|
sb.append("Remove ");
|
||||||
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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user