mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-22 09:08:03 +01:00
AddonsAPI - Added RELOADING state & #reload() method
This commit is contained in:
parent
b8a5b0151f
commit
df35492de5
@ -4,6 +4,7 @@ public enum AddonState {
|
|||||||
LOADING,
|
LOADING,
|
||||||
ENABLING,
|
ENABLING,
|
||||||
ENABLED,
|
ENABLED,
|
||||||
|
RELOADING,
|
||||||
DISABLING,
|
DISABLING,
|
||||||
DISABLED,
|
DISABLED,
|
||||||
INCOMPATIBLE
|
INCOMPATIBLE
|
||||||
|
@ -12,6 +12,7 @@ public abstract class BSAddon implements BSModule {
|
|||||||
public abstract void enable();
|
public abstract void enable();
|
||||||
public abstract void disable();
|
public abstract void disable();
|
||||||
public abstract void load();
|
public abstract void load();
|
||||||
|
public abstract void reload();
|
||||||
|
|
||||||
public AddonDescription getDescription() {
|
public AddonDescription getDescription() {
|
||||||
return description;
|
return description;
|
||||||
|
Loading…
Reference in New Issue
Block a user