mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 02:04:44 +02:00
Updating the permissions for the /[skillname] commands.
This commit is contained in:
@ -52,7 +52,7 @@ public final class CommandRegistrationHelper {
|
||||
|
||||
command.setAliases(aliasList);
|
||||
command.setDescription(LocaleLoader.getString("Commands.Description.Skill", Misc.getCapitalized(localizedName)));
|
||||
command.setPermission("mcmmo.skills." + commandName);
|
||||
command.setPermission("mcmmo.commands." + commandName);
|
||||
command.setPermissionMessage(permissionsMessage);
|
||||
|
||||
switch (skill) {
|
||||
|
Reference in New Issue
Block a user