示例#1
0
 public CommandRain() {
   Permissions.addPermission("SM." + getCommandName());
 }
示例#2
0
 public boolean canCommandSenderUseCommand(ICommandSender par1ICommandSender) {
   return Permissions.hasPermission(
       par1ICommandSender.getCommandSenderName(), "SM." + getCommandName());
 }