t3hk0d3/PermissionsEx — Issue #165: API removeGroup / addGroup not working - not saving?
Author: slipcor
Created: 2011-12-26 03:34:53+00:00
State: open

Hi! I'm trying to access player groups, it worked with version 1.15 (and craftbukkit of that time), but now people can not use my plugin because the following code does not do anything (though telling me via debug it worked)

permissionHandler.getUser(player).addGroup(rank, world);

player is online (me), rank is an existing group the player is in, world is the world. Same for:

permissionHandler.getUser(player).removeGroup(cString, worlds[i]);

"removed rank Admins from player slipcor in world world"

Full source can be found here: https://github.com/slipcor/ClassRanks/blob/master/src/net/slipcor/classranks/permissions/PermissionsEXHandler.java