Context :Velocity3.1.1, Spongeforge, win10
I want to be able to cancel the event and then broadcast the message to all servers. So i do this:
But it doesn't work, the player still gets the message.
I want to be able to cancel the event and then broadcast the message to all servers. So i do this:
@Subscribe
public void onPlayerChat(PlayerChatEvent event) {
event.setResult(PlayerChatEvent.ChatResult.denied());
}
But it doesn't work, the player still gets the message.
- Version Output
- Velocity3.1.1