GroupManager (playerAdd & has)
Laronic opened this issue ยท 3 comments
if(permissions.playerAdd("world", player.getName(), "lar.use.command"))
{
if(permissions.has(player, "lar.use.command"))
{
player.sendMessage("Yes");
}
else player.sendMessage("No");
}
This says "No" in the chat. It should have said "Yes" because the permission gets set before I check if he has it.
The player must relog to get "has" working correctly, otherwise it will keep saying he don't have the permission even though he do.
It doesn't work for me, I still got the same issue. Using "GroupManager v2.0 (2.9.3) (Phoenix)" & "Vault Version 1.2.18-b229"
this was already reported and fixed in the dev version: see: http://ci.herocraftonline.com/job/Vault/237/ and #257
Please search the closed issues before posting up an issue.