The documentation for CommandAPI.onDisable() is not very clear #330
Labels
documentation
Documentation improvement
implemented for next release
This has been implemented in the current dev build for the next public release
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'sonDisable()
method. This doesn't unregister commands, so commands may persist during reloads - this can be mitigated using theCommandAPI.unregister()
method.Proposed fix
A code block with:
Possibly an example as well!
The text was updated successfully, but these errors were encountered: