Group check command returns incorrect value
xcodian opened this issue ยท 2 comments
Description
The command used to check a permission node of a group returns false information.
If the node is not defined, it will return undefined
as it should, however if the node is defined and its value is false
, the command will still return that the permission node is set to true
regardless.
Steps to Reproduce
- Set up a clean installation of Spigot (Paper 1.16.1 was used for testing) with only LuckPerms.
- Add any permission node to the
default
group. (here, we'll useexample.example
) and set its value tofalse
:
/lp group default permission set example.example false
- Query the value of the permission node you created using the command:
/lp group default permission check example.example
Expected Output
Notice how it says that the node is set to false
, as it should be.
[LP] default has permission example.example set to false in context global.
Actual Output
Notice how it says that the node is set to true
, despite us clearly declaring its state.
[LP] default has permission example.example set to true in context global.
It was suggested that I add this screenshot to this issue.
https://cdn.discordapp.com/attachments/241667244927483904/736249179935866971/unknown.png