mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 12:19:59 +00:00
Profile Change Command Completed
This commit is contained in:
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){
|
||||
|
||||
Reference in new issue
Block a user