aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/internal
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-10 19:18:10 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-10 19:18:10 +0200
commit79731b2cae7405244e1ca305a0ca3de5754fabea (patch)
tree569375d411d6bac3e5680bd53e19af11161c9fa0 /src/main/java/cc/polyfrost/oneconfig/internal
parent138ef1ac51087c8370fe99f5ed0a903e7d3dcdfe (diff)
downloadOneConfig-79731b2cae7405244e1ca305a0ca3de5754fabea.tar.gz
OneConfig-79731b2cae7405244e1ca305a0ca3de5754fabea.tar.bz2
OneConfig-79731b2cae7405244e1ca305a0ca3de5754fabea.zip
make test stuff not be in final build
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/internal')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/internal/OneConfig.java13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/internal/OneConfig.java b/src/main/java/cc/polyfrost/oneconfig/internal/OneConfig.java
index 948f4ec..389e200 100644
--- a/src/main/java/cc/polyfrost/oneconfig/internal/OneConfig.java
+++ b/src/main/java/cc/polyfrost/oneconfig/internal/OneConfig.java
@@ -1,17 +1,15 @@
package cc.polyfrost.oneconfig.internal;
-import cc.polyfrost.oneconfig.internal.config.core.ConfigCore;
import cc.polyfrost.oneconfig.config.data.Mod;
import cc.polyfrost.oneconfig.config.data.ModType;
import cc.polyfrost.oneconfig.events.EventManager;
-import cc.polyfrost.oneconfig.internal.hud.HudCore;
-import cc.polyfrost.oneconfig.internal.config.OneConfigConfig;
import cc.polyfrost.oneconfig.internal.command.OneConfigCommand;
+import cc.polyfrost.oneconfig.internal.config.OneConfigConfig;
+import cc.polyfrost.oneconfig.internal.config.core.ConfigCore;
import cc.polyfrost.oneconfig.internal.gui.BlurHandler;
-import cc.polyfrost.oneconfig.test.TestCommand;
-import cc.polyfrost.oneconfig.test.TestConfig;
-import cc.polyfrost.oneconfig.utils.gui.GuiUtils;
+import cc.polyfrost.oneconfig.internal.hud.HudCore;
import cc.polyfrost.oneconfig.utils.commands.CommandManager;
+import cc.polyfrost.oneconfig.utils.gui.GuiUtils;
import cc.polyfrost.oneconfig.utils.hypixel.HypixelUtils;
import net.minecraftforge.fml.common.DummyModContainer;
import net.minecraftforge.fml.common.Loader;
@@ -32,7 +30,6 @@ public class OneConfig {
public static final List<Mod> loadedMods = new ArrayList<>();
public static final List<ModMetadata> loadedOtherMods = new ArrayList<>();
public static OneConfigConfig config;
- public static TestConfig testConfig;
private static boolean preLaunched = false;
private static boolean initialized = false;
@@ -60,9 +57,7 @@ public class OneConfig {
if (initialized) return;
GuiUtils.getDeltaTime(); // called to make sure static initializer is called
BlurHandler.INSTANCE.load();
- testConfig = new TestConfig();
CommandManager.INSTANCE.registerCommand(OneConfigCommand.class);
- CommandManager.INSTANCE.registerCommand(TestCommand.class);
EventManager.getEventManager().register(new HudCore());
EventManager.getEventManager().register(HypixelUtils.INSTANCE);
reloadModsList();