Profile Change Command Completed

This commit is contained in:
Kam committed 2025-01-23 17:45:13 -05:00
1 parent 10edf72ed9
commit 52aa1a75c1
5 files changed
+13 -12

No files matched your search

@@ -22,6 +22,7 @@ public class CommandProfile extends CommandBase {
public CommandProfile(){
registerCommand(help);
registerCommand(new CommandProfileChange());
}
public void registerCommand(CommandProfileBase command){
@@ -123,11 +123,11 @@ public abstract class CommandProfileBase extends CommandBase{
}
public String getSubCommandPermission(String subCommand){
return "cnpc.kamkeel." + getCommandName().toLowerCase() + "." + subCommand.toLowerCase();
return "profile.kamkeel." + getCommandName().toLowerCase() + "." + subCommand.toLowerCase();
}
public String getSubUniversalPermission(){
return "cnpc.kamkeel." + getCommandName().toLowerCase() + "*";
return "profile.kamkeel." + getCommandName().toLowerCase() + "*";
}
public boolean canSendCommand(ICommandSender sender, SubCommand command, String subCommand){