mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-02-23 07:41:39 +01:00
Fixed issue where addons were disabled incorrectly.
This commit is contained in:
parent
602b5b5c5c
commit
e290a46c4e
@ -166,7 +166,7 @@ public class AddonsManager {
|
||||
plugin.getBlueprintsManager().loadBlueprintBundles(gameMode);
|
||||
}
|
||||
addon.onEnable();
|
||||
if (!addon.isEnabled()) {
|
||||
if (addon.getState().equals(State.DISABLED)) {
|
||||
plugin.log(addon.getDescription().getName() + " is disabled.");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user