From 8053b9b90fb8819f779e68562140c34c6ed029af Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 10 Sep 2018 20:59:08 +0100 Subject: [PATCH] Don't filter the message if cancelled --- Plugins/Mineplex.Core/src/mineplex/core/chat/Chat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Mineplex.Core/src/mineplex/core/chat/Chat.java b/Plugins/Mineplex.Core/src/mineplex/core/chat/Chat.java index 2ceabb9c0..6c6d1fd7b 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/chat/Chat.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/chat/Chat.java @@ -876,7 +876,7 @@ public class Chat extends MiniPlugin event.getRecipients().forEach(player -> player.spigot().sendMessage(formatted)); } - @EventHandler(priority = EventPriority.HIGHEST) + @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) public void filterMessage(FormatPlayerChatEvent event) { if (event.isFiltered())