Skip to content

Commit

Permalink
Remove more unused options
Browse files Browse the repository at this point in the history
  • Loading branch information
ryderbelserion committed Apr 13, 2023
1 parent b44476c commit 6b52292
Showing 1 changed file with 0 additions and 16 deletions.
Expand Up @@ -73,28 +73,12 @@ public void onEnable() {
Files.CONFIG.saveFile();
}

String version = config.getString("Settings.Config-Version");

if (metricsPath == null) {
config.set("Settings.Toggle-Metrics", true);

Files.CONFIG.saveFile();
}

if (version == null) {
config.set("Settings.Config-Version", 1);

Files.CONFIG.saveFile();
}

String updater = config.getString("Settings.Update-Checker");

if (updater == null) {
config.set("Settings.Update-Checker", true);

Files.CONFIG.saveFile();
}

if (metricsEnabled) {
MetricsHandler metricsHandler = new MetricsHandler();

Expand Down

0 comments on commit 6b52292

Please sign in to comment.