package ml.duncte123.skybot.utils;

import ml.duncte123.skybot.config.Config;
import ml.duncte123.skybot.config.ConfigLoader;
import org.slf4j.event.Level;

import java.io.File;

public class ConfigUtils {

    private static Config config;

    public ConfigUtils() {
        try {

            config = ConfigLoader.getConfig(new File("config.json"));
        } catch (Exception e) {
            AirUtils.log(Level.ERROR, "Could not load config, aborting");
            System.exit(-1);
        }
    }

    public Config getConfig() {
        return config;
    }
}

@@ -276,17 +276,16 @@
   try %7B%0A
-%0A
         
@@ -346,16 +346,77 @@
 son%22));%0A
+            AirUtils.log(Level.INFO, %22Loading config.json%22);%0A
         

Add log for loading config