mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-08-26 07:22:56 +02:00
- Update to handle 'getDescription().getPermissions(') returning a
list (CB 1172).
This commit is contained in:
parent
de744fe9e2
commit
ce8f05cd94
|
@ -12,4 +12,5 @@ v 1.1:
|
|||
- Fixed BukkitPerms population. Wasn't correctly setting superperms.
|
||||
- Push updates to superperms for all valid GM commands.
|
||||
- All GroupManager commands issued by players are now echoed in the console.
|
||||
- Reverted WorldHolder static change to maintain backward plugin compatability.
|
||||
- Reverted WorldHolder static change to maintain backward plugin compatibility.
|
||||
- Update to handle 'getDescription().getPermissions(') returning a list (CB 1172).
|
|
@ -96,7 +96,8 @@ public class BukkitPermissions {
|
|||
private void collectPermissions() {
|
||||
registeredPermissions.clear();
|
||||
for (Plugin bukkitPlugin : Bukkit.getServer().getPluginManager().getPlugins()) {
|
||||
registeredPermissions.addAll(bukkitPlugin.getDescription().getPermissions());
|
||||
for(Permission permission : bukkitPlugin.getDescription().getPermissions())
|
||||
registeredPermissions.add(permission);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user