public boolean hasPermission(CommandSender player, String perm) {
return plugin.hasPermission(player, perm);
}
};
final CommandsManagerRegistration cmdRegister = new CommandsManagerRegistration(this, commands);
if (lowPriorityCommandRegistration) {
getServer().getScheduler().scheduleSyncDelayedTask(this, new Runnable() {
@Override
public void run() {
cmdRegister.register(CommandBookCommands.CommandBookParentCommand.class);
}
}, 1L);
} else {
cmdRegister.register(CommandBookCommands.CommandBookParentCommand.class);
}
}