-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
https://commandapi.jorel.dev/8.5.1/shading.html#disabling
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!
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