aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-26 18:15:40 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-26 18:15:40 +0200
commitf6bebfc3d14812dfac4592c1b35becf83d46cf76 (patch)
tree809d7b9c30e04de1eef9c203f26c1608909b88af /src
parented882cb3e3633d50b1d5e6772ecf737270ba1af7 (diff)
downloadOneConfig-f6bebfc3d14812dfac4592c1b35becf83d46cf76.tar.gz
OneConfig-f6bebfc3d14812dfac4592c1b35becf83d46cf76.tar.bz2
OneConfig-f6bebfc3d14812dfac4592c1b35becf83d46cf76.zip
remove instance var for now
Diffstat (limited to 'src')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/config/Config.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/config/Config.java b/src/main/java/cc/polyfrost/oneconfig/config/Config.java
index 88d0784..ee1d2bd 100644
--- a/src/main/java/cc/polyfrost/oneconfig/config/Config.java
+++ b/src/main/java/cc/polyfrost/oneconfig/config/Config.java
@@ -33,7 +33,6 @@ import java.util.Optional;
import java.util.function.Supplier;
public class Config {
- public transient static Config INSTANCE = null;
public final transient HashMap<String, BasicOption> optionNames = new HashMap<>();
transient protected final String configFile;
transient protected final Gson gson = new GsonBuilder().excludeFieldsWithModifiers(Modifier.TRANSIENT).setPrettyPrinting().create();
@@ -61,7 +60,6 @@ public class Config {
ConfigCore.oneConfigMods.add(mod);
this.mod = mod;
hasBeenInitialized = true;
- INSTANCE = this;
}
/**