mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-03 06:57:41 +01:00
Removed useless AddonStates and added MISSING_DEPENDENCY
This commit is contained in:
parent
92213f20c1
commit
cb2d24c779
@ -7,31 +7,11 @@ package us.tastybento.bskyblock.api.addons;
|
|||||||
* @since 1.0
|
* @since 1.0
|
||||||
*/
|
*/
|
||||||
public enum AddonState {
|
public enum AddonState {
|
||||||
/**
|
|
||||||
* The addon is being loaded. It has just been found by the {@link us.tastybento.bskyblock.managers.AddonsManager}.
|
|
||||||
*/
|
|
||||||
LOADING,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The addon has been correctly loaded and is being enabled. It is currently registering its content into the different Managers.
|
|
||||||
*/
|
|
||||||
ENABLING,
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The addon has been correctly enabled and is now fully working.
|
* The addon has been correctly enabled and is now fully working.
|
||||||
*/
|
*/
|
||||||
ENABLED,
|
ENABLED,
|
||||||
|
|
||||||
/**
|
|
||||||
* The addon has somehow been asked to reload and is doing so. The reload could have been ordered by an user or another addon.
|
|
||||||
*/
|
|
||||||
RELOADING,
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The addon is being disabled. This could have been ordered by an user or by the server shutting down.
|
|
||||||
*/
|
|
||||||
DISABLING,
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The addon is fully disabled.
|
* The addon is fully disabled.
|
||||||
*/
|
*/
|
||||||
@ -42,6 +22,11 @@ public enum AddonState {
|
|||||||
*/
|
*/
|
||||||
INCOMPATIBLE,
|
INCOMPATIBLE,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The addon has not been enabled because a dependency is missing.
|
||||||
|
*/
|
||||||
|
MISSING_DEPENDENCY,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The addon loading or enabling process has been interrupted by an unhandled error.
|
* The addon loading or enabling process has been interrupted by an unhandled error.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user