8000 The documentation for CommandAPI.onDisable() is not very clear · Issue #330 · CommandAPI/CommandAPI · GitHub
[go: up one dir, main page]

Skip to content
647A
The documentation for CommandAPI.onDisable() is not very clear #330
Closed
@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.

Propo 55B4 sed 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

      0