Package com.bergerkiller.bukkit.common.permissions

Examples of com.bergerkiller.bukkit.common.permissions.NoPermissionException


public class Commands {

  public static void permission(CommandSender sender, String node) throws NoPermissionException {
    if (sender instanceof Player && !((Player) sender).hasPermission(node)) {
      throw new NoPermissionException();
    }
  }
View Full Code Here

TOP

Related Classes of com.bergerkiller.bukkit.common.permissions.NoPermissionException

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.