From c4fbc7e2f9a5b7ec5e1f0df973f71b56eabacd44 Mon Sep 17 00:00:00 2001 From: xGinko Date: Wed, 1 Jan 2025 01:27:44 +0100 Subject: [PATCH] set to disabled unless overriden --- .../src/main/java/me/xginko/aef/modules/AEFModule.java | 2 +- .../src/main/java/me/xginko/aef/modules/AEFModule.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AnarchyExploitFixesFolia/src/main/java/me/xginko/aef/modules/AEFModule.java b/AnarchyExploitFixesFolia/src/main/java/me/xginko/aef/modules/AEFModule.java index dc162f7c..8c943bd0 100755 --- a/AnarchyExploitFixesFolia/src/main/java/me/xginko/aef/modules/AEFModule.java +++ b/AnarchyExploitFixesFolia/src/main/java/me/xginko/aef/modules/AEFModule.java @@ -39,7 +39,7 @@ public abstract class AEFModule implements ConditionalEnableable, Disableable { public AEFModule(String configPath) { this.configPath = configPath; - this.configEnabled = true; + this.configEnabled = false; // Constructor is reserved for edge case modules. Should be disabled by default to avoid mistakes. String[] paths = configPath.split("\\."); if (paths.length <= 2) { diff --git a/AnarchyExploitFixesLegacy/src/main/java/me/xginko/aef/modules/AEFModule.java b/AnarchyExploitFixesLegacy/src/main/java/me/xginko/aef/modules/AEFModule.java index f470c4de..3c293312 100755 --- a/AnarchyExploitFixesLegacy/src/main/java/me/xginko/aef/modules/AEFModule.java +++ b/AnarchyExploitFixesLegacy/src/main/java/me/xginko/aef/modules/AEFModule.java @@ -40,7 +40,7 @@ public abstract class AEFModule implements ConditionalEnableable, Disableable { public AEFModule(String configPath) { this.configPath = configPath; - this.configEnabled = true; + this.configEnabled = false; // Constructor is reserved for edge case modules. Should be disabled by default to avoid mistakes. String[] paths = configPath.split("\\."); if (paths.length <= 2) {