No restore/rob buttons on the GUI of `/yigd grave <player>`
FederAndInk opened this issue ยท 4 comments
Describe the bug
No restore/rob buttons on the GUI of /yigd grave <player>
for non OP but still have luckperms set to yigd.*
To Reproduce
Steps to reproduce the behavior:
- luckperms set to yigd.*
- not being OP
- run
/yigd grave <player>
Expected behavior
There should be the restore/rob button for those who have the luckperms permission but are not OP
Desktop (please complete the following information):
- OS: irrelevent
- Minecraft Version: 1.18.2
- Version: 1.3.7
Additional context
Add any other context about the problem here.
before displaying UI buttons, player's permission should be considered
looks like only OP is considered
This looks like permission api. I should have compat with it, although I have to be honest I have no idea how to use it so it's not tested. Would be thankful if you could tell me how to test this out. Also the mod does not come packaged with permission api so you would currently have to download it from github or play with another mod that includes it to use that feature. Idk why I just made it compatible and not included, but I think I'll change that in the next release