fix url in global admin chat
This commit is contained in:
parent
a5d5d8d985
commit
f00f6e7658
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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)));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user