Jump to content

nano mano

Trade With Caution
  • Posts

    36
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by nano mano

  1. 17 minutes ago, Team Cape said:

    Would recommend using onMessage() getMessages() is bugged. How are you trying to print it?

     

    Also, my mistake - it should've been getMessages().get(0) not the other way around :D

     

     

     

    16 minutes ago, dreameo said:

    lol my bad, kinda rushed it but, you want this:

    
    getChatbox().getMessages(Chatbox.MessageType.ALL).get(0);

    change type of message if you don't want all.

    the only reason you're getting null is because of poor referencing 

     

    I tried 

    onMessage(Chatbox.MessageType.ALL).get(0)

    and 

    getChatbox().getMessages(Chatbox.MessageType.ALL).get(0);

     

    I get an error from eclipse.

×
×
  • Create New...