Hotfix ChatListener
Dieser Commit ist enthalten in:
Ursprung
4390de1739
Commit
a452ee6faf
@ -173,7 +173,10 @@ public class ChatListener extends BasicListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void discordChat(SteamwarUser user, String message){
|
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();
|
String chatcolor = user.getUserGroup().getChatColorCode();
|
||||||
|
|
||||||
if(user.getUserGroup() != UserGroup.Member || user.getTeam() == 12 || user.getTeam() == 285 || user.getTeam() == 54)
|
if(user.getUserGroup() != UserGroup.Member || user.getTeam() == 12 || user.getTeam() == 285 || user.getTeam() == 54)
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren