diff options
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/command')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/command/OneConfigCommand.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/command/OneConfigCommand.java b/src/main/java/cc/polyfrost/oneconfig/command/OneConfigCommand.java index eccaf01..f21e569 100644 --- a/src/main/java/cc/polyfrost/oneconfig/command/OneConfigCommand.java +++ b/src/main/java/cc/polyfrost/oneconfig/command/OneConfigCommand.java @@ -1,10 +1,10 @@ package cc.polyfrost.oneconfig.command; -import cc.polyfrost.oneconfig.gui.OneConfigGui; import cc.polyfrost.oneconfig.gui.HudGui; -import cc.polyfrost.oneconfig.lwjgl.RenderManager; +import cc.polyfrost.oneconfig.gui.OneConfigGui; import cc.polyfrost.oneconfig.test.TestNanoVGGui; import cc.polyfrost.oneconfig.utils.TickDelay; +import gg.essential.universal.UScreen; import net.minecraft.command.CommandBase; import net.minecraft.command.ICommandSender; @@ -33,14 +33,14 @@ public class OneConfigCommand extends CommandBase { @Override public void processCommand(ICommandSender sender, String[] args) { - if (args.length == 0) new TickDelay(() -> RenderManager.displayGuiScreen(OneConfigGui.create()), 1); + if (args.length == 0) new TickDelay(() -> UScreen.displayScreen(OneConfigGui.create()), 1); else { switch (args[0]) { case "hud": - new TickDelay(() -> RenderManager.displayGuiScreen(new HudGui()), 1); + new TickDelay(() -> UScreen.displayScreen(new HudGui()), 1); break; case "lwjgl": - new TickDelay(() -> RenderManager.displayGuiScreen(new TestNanoVGGui()), 1); + new TickDelay(() -> UScreen.displayScreen(new TestNanoVGGui()), 1); break; } } |