WorldEdit

WorldEdit

43M Downloads

v2594 causing lower case returns for the Command Helper function pgroup()

LadyCailinBot opened this issue · 4 comments

commented

WORLDEDIT-2955 - Reported by Tom028

With W.E. v2592 the C.H. function pgroup() returns the exact group name. EG: {Operator}. But with W.E. v2594 the return is all lower case. EG: {operator}. I’m using PEX v1.20.4 and C.H. v2439.

commented

Comment by PseudoKnight

This is because it's using your group.groupname permission node instead due to that change. You can either change your code (case insensitive checks, maybe) or you can change your group.groupname permission node to group.Groupname.

I should note that it's been this way with PermissionsBukkit for a long time. They may have changed this to be consistent with other permission handlers.

commented

Comment by PseudoKnight

Wait, this was changed again later. Try build #2636 or higher.

This doesn't change my recommendation, though, just in case this changes again.

commented

Comment by wizjany

seems to be the same issue as WORLDGUARD-2939

commented

This doesn't appear to be a WorldEdit issue.