fixed text generation for cards with pawprints symbols (closes #12662, #12664)

This commit is contained in:
jimga150 2024-08-15 01:28:15 -04:00 committed by GitHub
parent a69ae2afae
commit d75068a426
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -619,6 +619,11 @@ public class Modes extends LinkedHashMap<UUID, Mode> implements Copyable<Modes>
sb.append("+ ");
sb.append(mode.getCost().getText());
sb.append(" &mdash; ");
} else if (mode.getPawPrintValue() > 0) {
for (int i = 0; i < mode.getPawPrintValue(); ++i){
sb.append("{P}");
}
sb.append(" &mdash; ");
} else {
sb.append("&bull ");
}