Don't filter the message if cancelled

This commit is contained in:
Sam 2018-09-10 20:59:08 +01:00 committed by Alexander Meech
parent 3e4593931c
commit 8053b9b90f
1 changed files with 1 additions and 1 deletions

View File

@ -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())