From f6bebfc3d14812dfac4592c1b35becf83d46cf76 Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Sun, 26 Jun 2022 18:15:40 +0200 Subject: remove instance var for now --- src/main/java/cc/polyfrost/oneconfig/config/Config.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/main/java/cc/polyfrost') 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 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; } /** -- cgit