aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/command/OneConfigCommand.java
diff options
context:
space:
mode:
authorWyvest <45589059+Wyvest@users.noreply.github.com>2022-04-16 14:51:58 +0900
committerWyvest <45589059+Wyvest@users.noreply.github.com>2022-04-16 14:51:58 +0900
commitcf164be0c8f43c3d1387c9c9f7ae73c2cf1b3a02 (patch)
treec3f2cbfe39919941b9bb04f6de2e3cec103509fd /src/main/java/io/polyfrost/oneconfig/command/OneConfigCommand.java
parentf10f1165a7c2ea88ce7bb265d51b52eeaa64d8f8 (diff)
downloadOneConfig-cf164be0c8f43c3d1387c9c9f7ae73c2cf1b3a02.tar.gz
OneConfig-cf164be0c8f43c3d1387c9c9f7ae73c2cf1b3a02.tar.bz2
OneConfig-cf164be0c8f43c3d1387c9c9f7ae73c2cf1b3a02.zip
merge rendering files + remove themes
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/command/OneConfigCommand.java')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/command/OneConfigCommand.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/command/OneConfigCommand.java b/src/main/java/io/polyfrost/oneconfig/command/OneConfigCommand.java
index c2e6447..b210146 100644
--- a/src/main/java/io/polyfrost/oneconfig/command/OneConfigCommand.java
+++ b/src/main/java/io/polyfrost/oneconfig/command/OneConfigCommand.java
@@ -1,16 +1,12 @@
package io.polyfrost.oneconfig.command;
-import io.polyfrost.oneconfig.gui.Window;
import io.polyfrost.oneconfig.hud.gui.HudGui;
import io.polyfrost.oneconfig.test.TestNanoVGGui;
-import io.polyfrost.oneconfig.themes.Themes;
import io.polyfrost.oneconfig.utils.TickDelay;
import net.minecraft.client.Minecraft;
import net.minecraft.command.CommandBase;
import net.minecraft.command.ICommandSender;
-import net.minecraft.util.ChatComponentText;
-import java.io.File;
import java.util.ArrayList;
import java.util.List;
@@ -38,16 +34,12 @@ public class OneConfigCommand extends CommandBase {
@Override
public void processCommand(ICommandSender sender, String[] args) {
- if (args.length == 0) new TickDelay(() -> mc.displayGuiScreen(new Window()), 1);
+ if (args.length == 0) ; //new TickDelay(() -> mc.displayGuiScreen(new Window()), 1);
else {
switch (args[0]) {
case "hud":
new TickDelay(() -> mc.displayGuiScreen(new HudGui()), 1);
break;
- case "theme":
- mc.thePlayer.addChatMessage(new ChatComponentText("reloading theme!"));
- Themes.openTheme(new File("OneConfig/themes/one.zip").getAbsoluteFile());
- break;
case "lwjgl":
new TickDelay(() -> mc.displayGuiScreen(new TestNanoVGGui()), 1);
break;