aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/config
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-11 13:12:19 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-11 13:12:19 +0200
commit333b4099972260d0e348ec20f8a00a430471aac8 (patch)
tree18680345cab8a241c2e7bc9b1c0950149497a88f /src/main/java/cc/polyfrost/oneconfig/config
parent5c16cd384103e0bdbef68fe378f49eb491eacef8 (diff)
parentfd70b3f28f9682e3195f798ae7e1417e81bede7b (diff)
downloadOneConfig-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.java4
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)));
}
}