-
-
Notifications
You must be signed in to change notification settings - Fork 74
The documentation for CommandAPI.onDisable() is not very clear #330
Copy link
Copy link
Closed
Labels
documentationDocumentation improvementDocumentation improvementimplemented for next releaseThis has been implemented in the current dev build for the next public releaseThis has been implemented in the current dev build for the next public release
Description
Documentation URL
What the documentation currently says
The onDisable() method disables the CommandAPI gracefully. This should be placed in your plugin's onDisable() method. This doesn't unregister commands, so commands may persist during reloads - this can be mitigated using the CommandAPI.unregister() method.
Proposed fix
A code block with:
CommandAPI.onDisable();Possibly an example as well!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationDocumentation improvementDocumentation improvementimplemented for next releaseThis has been implemented in the current dev build for the next public releaseThis has been implemented in the current dev build for the next public release