Vault

Vault

7M Downloads

getPrimaryGroup(player) always = null

sayaad opened this issue ยท 1 comments

commented

Using groupmanager, upon calling perms.getPrimaryGroup() it is always returned as null no matter what group the Player is on.

(NullPointerExecption on perms.getPrimaryGroup(player))

groupmanager is configed correctly and there is no problem in my code therefore the only variable remaining is that its returned as null.

Hope this gets fixed asap

commented

possibly means that you have no world-permissions defined for the player. GM wrote in the current checks, so it attempts to pull the info from the current world, otherwise it returns null. Are you searching for this based on an offline player or online player? Would need to get some more information on it to help debug this issue.