v2594 causing lower case returns for the Command Helper function pgroup()
LadyCailinBot opened this issue · 4 comments
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.
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.
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.