mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-27 04:55:33 +01:00
Merge pull request #311 from krinsdeath/master
I stupidly inverted the parameters of my own API. This pull fixes that.
This commit is contained in:
commit
58db755bda
@ -103,13 +103,13 @@ public class Permission_Privileges extends Permission {
|
||||
@Override
|
||||
public boolean groupAdd(String world, String group, String permission) {
|
||||
Group g = privs.getGroupManager().getGroup(group);
|
||||
return g != null && g.addPermission(permission, world);
|
||||
return g != null && g.addPermission(world, permission);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean groupRemove(String world, String group, String permission) {
|
||||
Group g = privs.getGroupManager().getGroup(group);
|
||||
return g != null && g.removePermission(permission, world);
|
||||
return g != null && g.removePermission(world, permission);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user