1
0

Cleanspeak API removal who tf uses chat filter

This commit is contained in:
labalityowo
2023-05-19 22:01:27 +07:00
parent fca52d7ef5
commit 576577fbd6

View File

@ -876,6 +876,8 @@ public class Chat extends MiniPlugin
event.getRecipients().forEach(player -> player.spigot().sendMessage(formatted)); event.getRecipients().forEach(player -> player.spigot().sendMessage(formatted));
} }
/*
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
public void filterMessage(FormatPlayerChatEvent event) public void filterMessage(FormatPlayerChatEvent event)
{ {
@ -920,6 +922,7 @@ public class Chat extends MiniPlugin
}); });
}); });
} }
*/
@EventHandler @EventHandler
public void playerQuit(PlayerQuitEvent event) public void playerQuit(PlayerQuitEvent event)