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

Skip to content

The documentation for CommandAPI.onDisable() is not very clear #330

@JorelAli

Description

@JorelAli

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

No one assigned

    Labels

    documentationDocumentation improvementimplemented for next releaseThis has been implemented in the current dev build for the next public release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions