Skip to content

Commit

Permalink
Fix anti-AFK being force enabled after reload
Browse files Browse the repository at this point in the history
  • Loading branch information
Archy-X committed Aug 3, 2024
1 parent b282612 commit 70dd72a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public void reload() {
}
checkMap.clear();
// Register checks again to account for changed config values
if (!plugin.configBoolean(Option.ANTI_AFK_ENABLED)) return;
registerChecks();
}

Expand Down

0 comments on commit 70dd72a

Please sign in to comment.