CostRemoveCounter allow for NICKNAME in desc

This commit is contained in:
Northmoc
2021-09-24 19:44:13 -04:00
parent 734545c2b3
commit d06de1ec85

View File

@@ -117,7 +117,7 @@ public class CostRemoveCounter extends CostPart {
sb.append(" from ");
if (this.payCostFromSource()) {
if (this.getTypeDescription() == null && this.payCostFromSource()) {
sb.append(this.getType());
} else {
final String desc = this.getTypeDescription() == null ? this.getType() : this.getTypeDescription();