We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c5077a commit 84e6523Copy full SHA for 84e6523
src/main/java/world/bentobox/bentobox/managers/AddonsManager.java
@@ -450,8 +450,8 @@ public void reloadAddons() {
450
public void disableAddons() {
451
if (!getEnabledAddons().isEmpty()) {
452
plugin.log("Disabling addons...");
453
- // Disable addons
454
- getEnabledAddons().forEach(this::disable);
+ // Disable addons - pladdons are disabled by the server
+ getEnabledAddons().stream().filter(addon -> !pladdons.keySet().contains(addon)).forEach(this::disable);
455
plugin.log("Addons successfully disabled.");
456
}
457
// Unregister all commands
0 commit comments