don't use bperms plugin name when trying to find a player's groups :-/

This commit is contained in:
Sleaker 2012-02-01 07:42:01 -08:00
parent d3ef74bd8e
commit 7a6a33dfed

View File

@ -129,7 +129,7 @@ public class Permission_bPermissions2 extends Permission {
@Override
public String[] getPlayerGroups(String world, String player) {
return ApiLayer.getGroups(world, CalculableType.USER, name);
return ApiLayer.getGroups(world, CalculableType.USER, player);
}
@Override