Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
[ci-skip] Load configs before loading the api just in case.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryderbelserion committed Apr 5, 2023
1 parent ef85b3a commit 9e6f186
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -31,14 +31,14 @@ public class ChatManager extends JavaPlugin {
public void onEnable() {
plugin = this;

api = new ApiLoader();

api.load();

settingsManager = new SettingsManager();

settingsManager.setup();

api = new ApiLoader();

api.load();

boolean metricsEnabled = settingsManager.getConfig().getBoolean("Metrics_Enabled");

pluginManager = new PluginManager();
Expand Down

0 comments on commit 9e6f186

Please sign in to comment.