[Bug]: No permission when unlocked if there is a friend added
JakeWags opened this issue ยท 2 comments
Version of BlockProt
0.4.8, Paper 1.17.1
Description of the bug
Config: Default
Plugin Version: 0.4.8
Minecraft version: 1.17.1
Server: Paper 1.17.1
Spigot: v1_17_R1
EXPECTED BEHAVIOR: After unlocking an item, regardless of the settings, the item should be accessible by all.
ISSUE: After adding a friend to any lockable item, once unlocked, nobody except that friend or friends has permissions to interact with the block. This includes breaking, opening, closing, or any interaction. The people added as friends, however, are able to interact with the block, but not break it or lock it. The owner of the block can lock it to regain permissions and the ability to break and interact with the block.
When no friends are added, the lock/unlock mechanism works totally fine.
Steps to reproduce
- Place and lock any lockable item.
- Add a friend to the item
- Unlock the item
- Try to interact with it
- Have friend interact with it
- Re-lock said item and remove friend
- Unlock item
- Try to interact with it (it should work fine)
Additional context
Both friends I tested this with had the same experience when they were added to my /blockprot settings friends and when they were not on the list. The bug still occurred exactly as described above.
Let me know if you want a screen recording or screenshots. It should be easy enough to replicate.
Hi @JakeWags, thank you for your report. It was an easy fix and will be part of 0.4.9, for now, you can use this version.