SteamWar/BungeeCore
Archiviert
13
2

Merge pull request 'Fix ChatListener for discord messages' (#331) from FixDiscord into master
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Reviewed-on: #331
Reviewed-by: Lixfel <lixfel@steamwar.de>
Dieser Commit ist enthalten in:
Lixfel 2022-04-01 10:58:58 +02:00
Commit af61b59c8b

Datei anzeigen

@ -174,7 +174,7 @@ public class ChatListener extends BasicListener {
public static void discordChat(SteamwarUser user, String message){
String name = "§r" + user.getUserName() + "§r";
if (user.getUserGroup() != UserGroup.Member) {
name = user.getUserGroup().getColorCode() + user.getUserGroup().name() + " " + user.getUserName() + "§r";
name = user.getUserGroup().getColorCode() + user.getUserGroup().getChatPrefix() + " " + user.getUserName() + "§r";
}
String chatcolor = user.getUserGroup().getChatColorCode();