mirror of
https://github.com/MilkBowl/Vault.git
synced 2025-02-23 15:51:41 +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);
|
PermissionSet set = perms.getPermissionSet(world);
|
||||||
if (set == null)
|
if (set == null)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
set.addGroup(player, "p:" + permission);
|
set.addPlayerNode(permission, player);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ public class Permission_bPermissions extends Permission {
|
|||||||
if (set == null)
|
if (set == null)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
set.removeGroup(player, "p:" + permission);
|
set.removePlayerNode(permission, player);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user