예제 #1
0
 public boolean testPermission(CommandSource source) {
   return source.hasPermission("multiworld.use");
 }
예제 #2
0
 @Override
 public boolean testPermission(CommandSource sender) {
   return permission.equals("") ? true : sender.hasPermission(permission);
 }