AddonsAPI - Added RELOADING state & #reload() method

This commit is contained in:
Florian CUNY 2017-12-11 22:05:32 +01:00
parent b8a5b0151f
commit df35492de5
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ public enum AddonState {
LOADING,
ENABLING,
ENABLED,
RELOADING,
DISABLING,
DISABLED,
INCOMPATIBLE

View File

@ -12,6 +12,7 @@ public abstract class BSAddon implements BSModule {
public abstract void enable();
public abstract void disable();
public abstract void load();
public abstract void reload();
public AddonDescription getDescription() {
return description;