mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-15 05:33:40 +00:00
Read from group not user for setting superperms
This commit is contained in:
parent
6398626559
commit
73b5fe971f
2 changed files with 2 additions and 2 deletions
Binary file not shown.
|
@ -116,7 +116,7 @@ public class BukkitPermissions {
|
||||||
PermissionAttachment attachment = this.attachments.get(player);
|
PermissionAttachment attachment = this.attachments.get(player);
|
||||||
|
|
||||||
User user = GroupManager.getWorldsHolder().getWorldData(world).getUser(player.getName());
|
User user = GroupManager.getWorldsHolder().getWorldData(world).getUser(player.getName());
|
||||||
List<String> permissions = user.getPermissionList();
|
List<String> permissions = user.getGroup().getPermissionList();
|
||||||
|
|
||||||
// clear permissions
|
// clear permissions
|
||||||
for (String permission : attachment.getPermissions().keySet()) {
|
for (String permission : attachment.getPermissions().keySet()) {
|
||||||
|
|
Loading…
Reference in a new issue