Skip to content

Commit

Permalink
fix module loadup
Browse files Browse the repository at this point in the history
  • Loading branch information
xGinko committed Aug 19, 2024
1 parent 6a60c15 commit 0e24c13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class AllayDupe extends AEFModule implements Listener {

public AllayDupe() {
super("dupe-preventions.allay-dupe");
config.addComment(configPath, """
config.addComment(configPath + ".enable", """
Will prevent allays from entering vehicles to prevent a duplication exploit
confirmed working in 1.19.4.""");
this.dismount = config.getBoolean(configPath + ".dismount-premounted-allays", true);
Expand All @@ -29,7 +29,7 @@ public void enable() {

@Override
public boolean shouldEnable() {
return config.getBoolean(configPath, false);
return config.getBoolean(configPath + ".enable", false);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class AllayDupe extends AEFModule implements Listener {

public AllayDupe() {
super("dupe-preventions.allay-dupe");
config.addComment(configPath,
config.addComment(configPath + ".enable",
"Will prevent allays from entering vehicles to prevent a duplication exploit\n" +
"confirmed working in 1.19.4.");
this.dismount = config.getBoolean(configPath + ".dismount-premounted-allays", true);
Expand All @@ -28,7 +28,7 @@ public void enable() {

@Override
public boolean shouldEnable() {
return config.getBoolean(configPath, false);
return config.getBoolean(configPath + ".enable", false);
}

@Override
Expand Down

0 comments on commit 0e24c13

Please sign in to comment.