diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-05-11 13:12:19 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-05-11 13:12:19 +0200 |
commit | 333b4099972260d0e348ec20f8a00a430471aac8 (patch) | |
tree | 18680345cab8a241c2e7bc9b1c0950149497a88f /src/main/java/cc/polyfrost/oneconfig/config | |
parent | 5c16cd384103e0bdbef68fe378f49eb491eacef8 (diff) | |
parent | fd70b3f28f9682e3195f798ae7e1417e81bede7b (diff) | |
download | OneConfig-333b4099972260d0e348ec20f8a00a430471aac8.tar.gz OneConfig-333b4099972260d0e348ec20f8a00a430471aac8.tar.bz2 OneConfig-333b4099972260d0e348ec20f8a00a430471aac8.zip |
Merge branch 'master' of github.com:Polyfrost/OneConfig
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/config')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/interfaces/Config.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/config/interfaces/Config.java b/src/main/java/cc/polyfrost/oneconfig/config/interfaces/Config.java index 906153e..9eecc52 100644 --- a/src/main/java/cc/polyfrost/oneconfig/config/interfaces/Config.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/interfaces/Config.java @@ -11,8 +11,8 @@ import cc.polyfrost.oneconfig.config.profiles.Profiles; import cc.polyfrost.oneconfig.gui.OneConfigGui; import cc.polyfrost.oneconfig.gui.elements.config.*; import cc.polyfrost.oneconfig.gui.pages.ModConfigPage; +import cc.polyfrost.oneconfig.lwjgl.RenderManager; import com.google.gson.*; -import net.minecraft.client.Minecraft; import java.io.*; import java.lang.reflect.Field; @@ -194,6 +194,6 @@ public class Config { */ public void openGui() { if (mod == null) return; - Minecraft.getMinecraft().displayGuiScreen(new OneConfigGui(new ModConfigPage(mod.defaultPage))); + RenderManager.displayGuiScreen(new OneConfigGui(new ModConfigPage(mod.defaultPage))); } } |