From 70ad224552537d6dfe74e368a6f99618e728ae96 Mon Sep 17 00:00:00 2001 From: Andy Zhang <37402126+AnzhiZhang@users.noreply.github.com> Date: Tue, 20 Dec 2022 23:51:59 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20fix=20minecraft=20list=20?= =?UTF-8?q?message=20plainServer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/zhanganzhi/chathub/core/Config.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/zhanganzhi/chathub/core/Config.java b/src/main/java/com/zhanganzhi/chathub/core/Config.java index c3dc9b4..78a7237 100644 --- a/src/main/java/com/zhanganzhi/chathub/core/Config.java +++ b/src/main/java/com/zhanganzhi/chathub/core/Config.java @@ -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)); }