geforkt von SteamWar/BungeeCore
Hotfix IngameChatListener
Dieser Commit ist enthalten in:
Ursprung
d13e6a56a6
Commit
8d6f40601c
@ -44,7 +44,7 @@ public class IngameChatListener extends BasicDiscordListener {
|
|||||||
if (steamwarUser == null || event.getMessage().getContentRaw().length() > 250) {
|
if (steamwarUser == null || event.getMessage().getContentRaw().length() > 250) {
|
||||||
event.getMessage().delete().complete();
|
event.getMessage().delete().complete();
|
||||||
} else {
|
} else {
|
||||||
ChatListener.discordChat(steamwarUser, event.getMessage().getContentRaw().replaceAll("(§[a-f0-9])|(\n)", ""));
|
ChatListener.discordChat(steamwarUser, event.getMessage().getContentRaw().replaceAll("§[a-f0-9]", "").replace('\n', ' '));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren