Package ru.tehkode.permissions.exceptions

Examples of ru.tehkode.permissions.exceptions.PermissionsNotAvailable


    return plugin.isEnabled() && ((PermissionsEx) plugin).permissionsManager != null;
  }

  public static PermissionManager getPermissionManager() {
    if (!isAvailable()) {
      throw new PermissionsNotAvailable();
    }

    return ((PermissionsEx) getPlugin()).permissionsManager;
  }
View Full Code Here

TOP

Related Classes of ru.tehkode.permissions.exceptions.PermissionsNotAvailable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.