mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-13 06:06:28 +01:00
Fixed my stupidity.
This commit is contained in:
parent
397ad340c7
commit
28e229e409
@ -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