Skip to content

Commit

Permalink
fixed text generation for cards with pawprints symbols (closes #12662,
Browse files Browse the repository at this point in the history
  • Loading branch information
jimga150 authored Aug 15, 2024
1 parent a69ae2a commit d75068a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Mage/src/main/java/mage/abilities/Modes.java
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,11 @@ public String getText() {
sb.append("+ ");
sb.append(mode.getCost().getText());
sb.append(" — ");
} else if (mode.getPawPrintValue() > 0) {
for (int i = 0; i < mode.getPawPrintValue(); ++i){
sb.append("{P}");
}
sb.append(" &mdash; ");
} else {
sb.append("&bull ");
}
Expand Down

0 comments on commit d75068a

Please sign in to comment.