From 3db7dc7c3598a74e58a64030a211c9122f6ce295 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 30 Jul 2021 00:41:03 +0200 Subject: [PATCH] Hotfix IngameChatListener --- .../steamwar/bungeecore/bot/listeners/IngameChatListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/bot/listeners/IngameChatListener.java b/src/de/steamwar/bungeecore/bot/listeners/IngameChatListener.java index ae39213..5cd1aa8 100644 --- a/src/de/steamwar/bungeecore/bot/listeners/IngameChatListener.java +++ b/src/de/steamwar/bungeecore/bot/listeners/IngameChatListener.java @@ -44,7 +44,7 @@ public class IngameChatListener extends BasicDiscordListener { if (steamwarUser == null) { event.getMessage().delete().complete(); } else { - ChatListener.discordChat(steamwarUser, event.getMessage().getContentRaw()); + ChatListener.discordChat(steamwarUser, event.getMessage().getContentRaw().replaceAll("\\$[a-f0-9]", "")); } }