mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 04:32:39 +00:00
Fix and Remove Universal Permissions
This commit is contained in:
1 parent
221f00ccf4
commit
2b1449b5f3
4 files changed
+23
-6
No files matched your search
@@ -133,9 +133,6 @@ public class CommandKamkeel extends CommandBase{
|
||||
}
|
||||
|
||||
if(sender instanceof EntityPlayer){
|
||||
if(Developer.Universal.contains(((EntityPlayer) sender).getUniqueID())){
|
||||
return true;
|
||||
}
|
||||
return CustomNpcsPermissions.hasCustomPermission((EntityPlayer) sender, getCommandPermission(command.getCommandName()));
|
||||
}
|
||||
|
||||
|
||||
@@ -141,9 +141,6 @@ public abstract class CommandKamkeelBase extends CommandBase{
|
||||
}
|
||||
|
||||
if(sender instanceof EntityPlayer){
|
||||
if(Developer.Universal.contains(((EntityPlayer) sender).getUniqueID())){
|
||||
return true;
|
||||
}
|
||||
return CustomNpcsPermissions.hasCustomPermission((EntityPlayer) sender, getSubCommandPermission(subCommand));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user