aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/command')
-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;