You're in Grave Danger

You're in Grave Danger

18M Downloads

No restore/rob buttons on the GUI of `/yigd grave <player>`

FederAndInk opened this issue ยท 4 comments

commented

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:

  1. luckperms set to yigd.*
  2. not being OP
  3. 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.

Screenshots
image

commented

before displaying UI buttons, player's permission should be considered

looks like only OP is considered

commented

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

commented

thanks ๐Ÿ‘

commented

So I realized that testing for permission api permissions set on the server doesn't work very well on the client. I've now fixed this and it should now work as you'd expect. New update available at curseforge, modrinth, and github