Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

permission not working well #707

Open
1264175987 opened this issue Jan 14, 2025 · 4 comments
Open

permission not working well #707

1264175987 opened this issue Jan 14, 2025 · 4 comments
Labels

Comments

@1264175987
Copy link

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

@quintindunn
Copy link

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.

@1264175987
Copy link
Author

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

@quintindunn
Copy link

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

@Intelli
Copy link
Contributor

Intelli commented Jan 15, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants