Skip to content

Commit

Permalink
Fix AutoGG dependency condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Wyvest committed Jun 20, 2024
1 parent caf08e8 commit 97cc8c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1409,7 +1409,7 @@ public HytilsConfig() {
addDependency("autoGGMessage2", "autoGG");
addDependency("autoGGSecondPhraseDelay", "autoGG");

Supplier<Boolean> autoGGEnabled = () -> HytilsReborn.INSTANCE.isSk1erAutoGG && AutoGG.INSTANCE.getAutoGGConfig().isModEnabled();
Supplier<Boolean> autoGGEnabled = () -> !HytilsReborn.INSTANCE.isSk1erAutoGG || !AutoGG.INSTANCE.getAutoGGConfig().isModEnabled();

addDependency("autoGG", "Sk1er's AutoGG Enabled", autoGGEnabled);
addDependency("autoGGSecondMessage", "Sk1er's AutoGG Enabled", autoGGEnabled);
Expand Down

0 comments on commit 97cc8c9

Please sign in to comment.