SteamWar/BungeeCore
Archiviert
13
2

Hotfix ChatListener

Dieser Commit ist enthalten in:
yoyosource 2021-07-30 00:42:55 +02:00
Ursprung 4390de1739
Commit a452ee6faf

Datei anzeigen

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