Archiviert
1
0

Fix ChatListener for discord messages

Dieser Commit ist enthalten in:
yoyosource 2022-04-01 10:56:50 +02:00
Ursprung 21a9dd858a
Commit a8f9199c0f

Datei anzeigen

@ -174,7 +174,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.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().getChatPrefix() + " " + user.getUserName() + "§r";
} }
String chatcolor = user.getUserGroup().getChatColorCode(); String chatcolor = user.getUserGroup().getChatColorCode();