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

Fix wrong BungeeCord command suggestions #292

Merged
merged 2 commits into from Sep 25, 2020

Conversation

Joo200
Copy link
Contributor

@Joo200 Joo200 commented Sep 22, 2020

SpigotMC/BungeeCord@a47b803

This commit added some magic stuff to BungeeCord to check permissions for commands.
ACF already overrides the getPermission method but hasPermission method is untouched.

I had to increase the BungeeCord-Api version to 1.13 but that should be no problem since BungeeCord is backwards compatible to 1.8.

@Joo200
Copy link
Contributor Author

Joo200 commented Sep 22, 2020

Changed the way to check permissions to RootCommand$hasAnyPermission

@aikar aikar merged commit 65428e3 into aikar:master Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants