geforkt von SteamWar/BungeeCore
Fix ChatListener for discord messages
Dieser Commit ist enthalten in:
Ursprung
21a9dd858a
Commit
a8f9199c0f
@ -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();
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren