Posted July 27, 20178 yr Hello! As a start to a mod that I hope will remove specific chat events, I decided to attempt to remove all server chat by cancelling every "ClientChatReceivedEvent" event. Here is that source: @SubscribeEvent public void ClientChatReceivedEvent(ClientChatReceivedEvent e) { e.setCanceled(true); } However, when I run the mod, there is no visible effect. Anyone know why this might happen?
July 27, 20178 yr Show where you registered your event handler. Don't make mods if you don't know Java. Check out my website: http://shadowfacts.net Developer of many mods
July 27, 20178 yr Author After registering the event in a separate class all is working. Thanks for the help!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.