From 9993a3bdf8b57f17859339f97dae906a6aa4c01d Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 30 Jul 2021 10:49:51 +0200 Subject: [PATCH] Fix AnnouncementListener --- .../steamwar/bungeecore/bot/listeners/AnnouncementListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/bot/listeners/AnnouncementListener.java b/src/de/steamwar/bungeecore/bot/listeners/AnnouncementListener.java index f3803d2..2877fbd 100644 --- a/src/de/steamwar/bungeecore/bot/listeners/AnnouncementListener.java +++ b/src/de/steamwar/bungeecore/bot/listeners/AnnouncementListener.java @@ -37,7 +37,7 @@ public class AnnouncementListener extends BasicDiscordListener { if (event.getAuthor().isBot()) { return; } - Message.broadcast("ALERT", event.getMessage().getContentRaw()); + Message.broadcast("ALERT", event.getMessage().getContentDisplay()); } public void announce(String message) {