Skip to content

Commit

Permalink
set to disabled unless overriden
Browse files Browse the repository at this point in the history
  • Loading branch information
xGinko committed Jan 1, 2025
1 parent 8aaaabe commit c4fbc7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c4fbc7e

Please sign in to comment.