aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/features/NecronNotifications.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/Danker/features/NecronNotifications.java')
-rw-r--r--src/main/java/me/Danker/features/NecronNotifications.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/features/NecronNotifications.java b/src/main/java/me/Danker/features/NecronNotifications.java
index a1d4d26..d35996c 100644
--- a/src/main/java/me/Danker/features/NecronNotifications.java
+++ b/src/main/java/me/Danker/features/NecronNotifications.java
@@ -18,7 +18,7 @@ import java.util.List;
public class NecronNotifications {
- @SubscribeEvent
+ @SubscribeEvent(receiveCanceled = true)
public void onChat(ClientChatReceivedEvent event) {
String message = StringUtils.stripControlCodes(event.message.getUnformattedText());