SteamWar/BungeeCore
Archiviert
13
2

Hotfix ChatListener for Discord chat

Dieser Commit ist enthalten in:
yoyosource 2021-07-30 12:10:50 +02:00
Ursprung be5f5a033f
Commit 70d79b24dd

Datei anzeigen

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