Slightly changed formatting of trigger descriptions to allow charm-style triggers to be properly displayed.

This commit is contained in:
Krazy
2015-09-20 04:37:19 +00:00
parent d96dbb2bcc
commit ea9432471c

View File

@@ -1616,7 +1616,7 @@ public class Card extends GameEntity implements Comparable<Card> {
// Triggered abilities
for (final Trigger trig : state.getTriggers()) {
if (!trig.isSecondary()) {
sb.append(trig.toString()).append("\r\n");
sb.append(trig.toString().replaceAll("\\\\r\\\\n", "\r\n")).append("\r\n");
}
}