From 0b59caa89f1954a14a5c9538a29e874818fdbc78 Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Fri, 25 Feb 2022 17:17:15 +0100 Subject: small fix --- src/main/java/io/polyfrost/oneconfig/config/OneConfigConfig.java | 2 +- src/main/java/io/polyfrost/oneconfig/config/profiles/Profiles.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/polyfrost/oneconfig/config/OneConfigConfig.java b/src/main/java/io/polyfrost/oneconfig/config/OneConfigConfig.java index 12c15a2..a518633 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/OneConfigConfig.java +++ b/src/main/java/io/polyfrost/oneconfig/config/OneConfigConfig.java @@ -38,5 +38,5 @@ public class OneConfigConfig extends Config { } } - public static String currentProfile; + public static String currentProfile = "Default Profile"; } diff --git a/src/main/java/io/polyfrost/oneconfig/config/profiles/Profiles.java b/src/main/java/io/polyfrost/oneconfig/config/profiles/Profiles.java index 8c2f695..db9fce2 100644 --- a/src/main/java/io/polyfrost/oneconfig/config/profiles/Profiles.java +++ b/src/main/java/io/polyfrost/oneconfig/config/profiles/Profiles.java @@ -11,7 +11,7 @@ import java.util.ArrayList; import java.util.Arrays; public class Profiles { - private static ArrayList profiles; + public static ArrayList profiles; private static final File profileDir = new File("OneConfig/profiles"); public static String getCurrentProfile() { -- cgit