Guest User

Untitled

a guest
Jan 18th, 2019
69
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static PermissionsResolver factory(Server server, Configuration config){
  2. PermissionManager manager = server.getServicesManager().load(PermissionManager.class);
  3.  
  4. if(manager == null){
  5. return null;
  6. }
  7.  
  8. return new PermissionsExResolver(server, manager);
  9. }
  10.  
  11. public PermissionsExResolver(Server server, PermissionManager manager) {
  12. this.server = server;
  13. this.manager = manager;
  14. }
RAW Paste Data