Skip to content

Commit ab75081

Browse files
committed
actually format the message
1 parent 66defa6 commit ab75081

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/lol/hyper/anarchystats/tools/MessageParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ public Component infoCommand() {
9595
// don't add a new line if it's the first one
9696
// creates a gap
9797
if (i == 0) {
98-
infoCommand = Component.text(line);
98+
infoCommand = MiniMessage.miniMessage().deserialize(line);
9999
} else {
100-
infoCommand = infoCommand.append(Component.newline()).append(Component.text(line));
100+
infoCommand = infoCommand.append(Component.newline()).append(MiniMessage.miniMessage().deserialize(line));
101101
}
102102
}
103103
return infoCommand;

0 commit comments

Comments
 (0)