Jump to content

_Fanfare

Members
  • Posts

    2
  • Joined

  • Last visited

_Fanfare's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. But was it the ChatType? And how i can check if the message is NOT from the actionbar because when the actionbar changes the event fires too?
  2. Hello, i would like to programming a Chat Log Mod, and i use the ClientChatReceivedEvent to read the Messages came from the Server. The problem is, sometimes the Event is fired and sometimes not. In the Single Player work its perfectly too. on some servers it works and the event is fired and on some servers not :(. Why? Code: @SubscribeEvent public static void onChatReceive(ClientChatReceivedEvent event) { if(event.getType().equals(ChatType.CHAT)) { String message = event.getMessage().getFormattedText(); Chatlog.log(message); //Chatlog class is my own made class } } And YES the Listener is registered. Sorry for my perhaps bad english.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.