Advertisement
Guest User

Untitled

a guest
Mar 26th, 2020
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. MainClass :
  2.  
  3. public static ArrayList<Player> TEST = new ArrayList<>();
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12. Listeners :
  13.  
  14. @EventHandler
  15. public void onJoin(PlayerJoinEvent e) {
  16. Player p = e.getPlayer();
  17. p.hidePlayer(MainClass.test.); /* I WANT TO HIDE PLAYERS WHO ARE CONTAINS IN THE ARRAY LIST */
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement