Advertisement
Tom2565

Untitled

Oct 30th, 2017
13,664
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. Main.getInstance().getConfig().set("User." + p.getName());
  2. Main.getInstance().saveConfig();
  3.  
  4.  
  5. Und code in der Main:
  6.  
  7. public static Main instance;
  8. public static Main getInstance() { return instance; }
  9.  
  10.  
  11. Das hier im onEnable teil:
  12.  
  13. instance = this;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement