Skip to content

Commit

Permalink
修复游戏内查询 /mcdc stats 会显示 CR 字符
Browse files Browse the repository at this point in the history
  • Loading branch information
Xujiayao committed Feb 10, 2024
1 parent 24b4bfc commit 527ba72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/xujiayao/mcdiscordchat/utils/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ public static String getStatsCommandMessage(String type, String name) {
sortedlist.sort((c1, c2) -> c2.getValue().compareTo(c1.getValue()));

for (Map.Entry<String, Integer> entry : sortedlist) {
message.append(String.format("%n%-8d %-8s", entry.getValue(), entry.getKey()));
message.append(String.format("\n%-8d %-8s", entry.getValue(), entry.getKey()));
}
}

Expand Down

0 comments on commit 527ba72

Please sign in to comment.