CoreProtect

CoreProtect

1M Downloads

permission not working well

1264175987 opened this issue · 5 comments

commented

If i set permission ‘coreprotect.lookup true’ and 'coreprotect.lookup.near false' player still can use command /co near.
Server jar: luminol-1.21.1-bundler-dacd3c5
Coreprotect version: CoreProtect-23.2-RC3
Luckperms version: LuckPerms-Folia-5.4.141

commented

https://github.com/PlayPro/CoreProtect/blob/master/src/main/java/net/coreprotect/command/CommandHandler.java#L1212

Not sure if it's intended or not, but the way it was written makes it seem as much.

commented

https://github.com/PlayPro/CoreProtect/blob/master/src/main/java/net/coreprotect/command/CommandHandler.java#L1212

Not sure if it's intended or not, but the way it was written makes it seem as much.

image

commented

Ah okay, that answers that. I can make a PR later, but got to go for now.

commented

/co near is just an alias to /co l r:5, so that's expected behavior.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.