fix url in global admin chat

This commit is contained in:
destro174 2022-02-05 10:17:49 +01:00
parent a5d5d8d985
commit f00f6e7658
2 changed files with 1 additions and 3 deletions

View File

@ -5,7 +5,6 @@ import com.alttd.chat.config.Config;
import com.alttd.chat.managers.ChatUserManager;
import com.alttd.chat.managers.RegexManager;
import com.alttd.chat.objects.ChatUser;
import com.alttd.chat.objects.Party;
import com.alttd.chat.objects.channels.CustomChannel;
import com.alttd.chat.util.GalaxyUtility;
import com.alttd.chat.util.Utility;
@ -13,7 +12,6 @@ import com.google.common.io.ByteArrayDataOutput;
import com.google.common.io.ByteStreams;
import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.format.NamedTextColor;
import net.kyori.adventure.text.minimessage.MiniMessage;
import net.kyori.adventure.text.minimessage.Template;
import net.kyori.adventure.text.serializer.gson.GsonComponentSerializer;
import org.bukkit.Bukkit;

View File

@ -182,7 +182,7 @@ public class ChatHandler {
}
List<Template> templates = new ArrayList<>(List.of(
Template.template("message", message),
Template.template("message", Utility.formatText(message)),
Template.template("sender", senderName),
Template.template("server", serverName)));