Skip to content

Commit

Permalink
fix: πŸ› fix minecraft list message plainServer
Browse files Browse the repository at this point in the history
  • Loading branch information
AnzhiZhang committed Dec 20, 2022
1 parent ad4dd3e commit 70ad224
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/zhanganzhi/chathub/core/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ public String getMinecraftListMessage(String server, int count, String[] playerL
return configToml
.getString("minecraft.message.list")
.replace("{server}", getServername(server))
.replace("{plainServer}", getPlainServername(server))
.replace("{count}", String.valueOf(count))
.replace("{playerList}", String.join(", ", playerList));
}
Expand Down

0 comments on commit 70ad224

Please sign in to comment.