Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public static PlayerChatMessage handleChatMessage(PlayerChatMessage message, Ser
DiscordIntegration.INSTANCE.sendMessage(new DiscordMessage(b.build()), INSTANCE.getChannel(Configuration.instance().advanced.chatOutputChannelID));
}
} else
DiscordIntegration.INSTANCE.sendMessage(new DiscordMessage(embed, MessageUtilsImpl.formatPlayerName(player) + ": " + text, true), channel);
DiscordIntegration.INSTANCE.sendMessage(MessageUtilsImpl.formatPlayerName(player), player.getUUID().toString(), new DiscordMessage(embed, Localization.instance().discordChatMessage.replace("%player%", MessageUtilsImpl.formatPlayerName(player)).replace("%msg%", text), true), channel);

if (!Configuration.instance().compatibility.disableParsingMentionsIngame) {
final String editedJson = GsonComponentSerializer.gson().serialize(MessageUtils.mentionsToNames(comp, channel.getGuild()));
Expand Down