mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-12 04:20:41 +00:00
Prevent '*' permissions granting the 'groupmanager.noofflineperm'
permission.
This commit is contained in:
parent
faad91849d
commit
9e4493fbb4
2 changed files with 4 additions and 1 deletions
|
@ -210,3 +210,4 @@ v 2.0:
|
|||
- Do not grant any permissions (nor update Bukkit) if the server is in offline mode and the player has the permission node 'groupmanager.noofflineperms'.
|
||||
- Negate 'groupmanager.noofflineperms' by default in the owner group.
|
||||
- Add support for BukkitForge using 'overworld' as the main world name.
|
||||
- Prevent '*' permissions granting the 'groupmanager.noofflineperm' permission.
|
|
@ -172,6 +172,8 @@ public class AnjoPermissionsHandler extends PermissionsReaderInterface {
|
|||
permArray.addAll(GroupManager.BukkitPermissions.getAllRegisteredPermissions(includeChildren));
|
||||
allPerms = true;
|
||||
perms.remove("*");
|
||||
// Remove the no offline perms node as this should not be given.
|
||||
perms.remove("groupmanager.noofflineperms");
|
||||
}
|
||||
|
||||
for (String perm : perms) {
|
||||
|
|
Loading…
Reference in a new issue