Vault

Vault

7M Downloads

permission.playerInGroup returns false with pex

dredhorse opened this issue ยท 3 comments

commented

Hi

isUpgrade = permission.playerInGroup(world, player.getName(),oldGroup); returns false even if the player is in oldGroup in world

Using pex 1.15.1

Following class https://github.com/dredhorse/MakeMeMod/blob/master/src/org/simiancage/bukkit/makememod/MakeMeMod.java line 134

Plugin is here https://github.com/dredhorse/MakeMeMod/blob/master/resources/MakeMeMod.jar

you can enable debug logging in the config.yml

commented

should be fixed in latest commits - also I suggest testing against 1.16 not 1.15.1

commented

hmm.. btw: do you use user.inGroup(String, Boolean) with false to not search inheritet groups?

So your upcomming version and the to released version of pex will fix the issue?

commented

nope just the inGroup(groupName) check. the player is in the group if they inherit it.