Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

DerEchtePilz
Copy link
Member

@DerEchtePilz DerEchtePilz commented Jan 1, 2023

The title is not great, I know and it can be misunderstood!

I once experienced this while using the CommandAPI:

In my plugin, I register a command permission. LuckPerms also registers a command permission.
The CommandAPI does this:
[01:15:12 WARN]: [CommandAPI] Plugin command /permission is registered by Bukkit (LuckPerms). Did you forget to remove this from your plugin.yml file?

Here is what the PR does:

This PR makes it so that the CommandAPI doesn't complain about plugin commands registered in a plugin.yml if the plugin.yml doesn't belong to the plugin calling the CommandAPI.

@JorelAli JorelAli merged commit 9a2315e into CommandAPI:dev/dev Jan 1, 2023
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.

2 participants