SHARE
TWEET

Untitled

a guest Mar 20th, 2019 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class yourClass extends ListenerAdapter {
  2.     //Your code.
  3. }
  4.      
  5. @Override
  6. public void onMessageReceived(MessageReceivedEvent event) {
  7.     //Your code again.
  8. }
  9.      
  10. [Method1]
  11. public static void yourMethod(MessageReceivedEvent event) {
  12.     //Your code.
  13. }
  14.  
  15. [Method2]
  16. @Override
  17. public void onMessageReceived(MessageReceivedEvent event) {
  18.     yourMethod(event);
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top