blob: c7b95d121a909126df245fed4a6b3916e378b147 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
package cc.polyfrost.oneconfig.internal.config;
import cc.polyfrost.oneconfig.config.core.OneColor;
import java.util.ArrayList;
public class OneConfigConfig extends InternalConfig {
public static String currentProfile = "Default Profile";
public static boolean autoUpdate = true;
/**
* 0 = Releases
* 1 = Pre-Releases
*/
public static int updateChannel = 0;
public static ArrayList<String> favoriteMods = new ArrayList<>();
public static ArrayList<OneColor> favoriteColors = new ArrayList<>();
public static ArrayList<OneColor> recentColors = new ArrayList<>();
public static boolean australia = false;
private static OneConfigConfig INSTANCE;
public OneConfigConfig() {
super("", "OneConfig.json");
initialize();
INSTANCE = this;
}
public static OneConfigConfig getInstance() {
return INSTANCE == null ? (INSTANCE = new OneConfigConfig()) : INSTANCE;
}
}
|