Fix permission heritability
This commit is contained in:
parent
5208424a60
commit
1d02f9f149
@ -92,15 +92,15 @@ public class Punish extends MiniPlugin
|
||||
PermissionGroup.MOD.setPermission(Perm.FULL_PUNISHMENT_ACCESS, true, true);
|
||||
PermissionGroup.PLAYER.setPermission(Perm.RULES_COMMAND, true, true);
|
||||
|
||||
PermissionGroup.RC.setPermission(Perm.REPORT_BAN_ACCESS, true, true);
|
||||
PermissionGroup.RC.setPermission(Perm.REPORT_BAN_ACCESS, false, true);
|
||||
PermissionGroup.ADMIN.setPermission(Perm.REPORT_BAN_ACCESS, true, true);
|
||||
|
||||
PermissionGroup.QA.setPermission(Perm.PUNISHMENT_REAPPLY, true, true);
|
||||
PermissionGroup.RC.setPermission(Perm.PUNISHMENT_REAPPLY, true, true);
|
||||
PermissionGroup.QA.setPermission(Perm.PUNISHMENT_REAPPLY, false, true);
|
||||
PermissionGroup.RC.setPermission(Perm.PUNISHMENT_REAPPLY, false, true);
|
||||
PermissionGroup.ADMIN.setPermission(Perm.PUNISHMENT_REAPPLY, true, true);
|
||||
|
||||
PermissionGroup.TM.setPermission(Perm.BYPASS_REMOVE_CONFIRMATION, true, true);
|
||||
PermissionGroup.FN.setPermission(Perm.BYPASS_REMOVE_CONFIRMATION, true, true);
|
||||
PermissionGroup.TM.setPermission(Perm.BYPASS_REMOVE_CONFIRMATION, false, true);
|
||||
PermissionGroup.FN.setPermission(Perm.BYPASS_REMOVE_CONFIRMATION, false, true);
|
||||
PermissionGroup.ADMIN.setPermission(Perm.BYPASS_REMOVE_CONFIRMATION, true, true);
|
||||
|
||||
PermissionGroup.PLAYER.setPermission(Perm.PUNISHMENT_HISTORY_COMMAND, true, true);
|
||||
@ -492,4 +492,4 @@ public class Punish extends MiniPlugin
|
||||
|
||||
return n * (factorial(n-1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user