mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-13 06:06:28 +01:00
update bPerms lib - fix player node addition/removal for 2.0x
This commit is contained in:
parent
d495694dae
commit
6693eaae80
Binary file not shown.
@ -97,8 +97,8 @@ public class Permission_bPermissions extends Permission {
|
||||
PermissionSet set = perms.getPermissionSet(world);
|
||||
if (set == null)
|
||||
return false;
|
||||
|
||||
set.addGroup(player, "p:" + permission);
|
||||
|
||||
set.addPlayerNode(permission, player);
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -111,7 +111,7 @@ public class Permission_bPermissions extends Permission {
|
||||
if (set == null)
|
||||
return false;
|
||||
|
||||
set.removeGroup(player, "p:" + permission);
|
||||
set.removePlayerNode(permission, player);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user