Fixed my stupidity.

This commit is contained in:
Jeffrey Wardian 2012-12-03 20:29:51 -08:00
parent 397ad340c7
commit 28e229e409

View File

@ -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