diff --git a/src/main/java/dev/zelo/java/notenoughservers/NotEnoughServers.java b/src/main/java/dev/zelo/java/notenoughservers/NotEnoughServers.java index e7f643a..f38cb9b 100644 --- a/src/main/java/dev/zelo/java/notenoughservers/NotEnoughServers.java +++ b/src/main/java/dev/zelo/java/notenoughservers/NotEnoughServers.java @@ -28,8 +28,6 @@ import java.util.Optional; import java.util.concurrent.CompletableFuture; -import org.lwjgl.glfw.GLFW; - import static net.fabricmc.fabric.api.client.command.v2.ClientCommandManager.argument; public class NotEnoughServers implements ClientModInitializer { @@ -37,11 +35,11 @@ public class NotEnoughServers implements ClientModInitializer { public static final ConfigHolder CONFIG = NotEnoughServersConfig.init(); - public static KeyBinding SERVER_LIST_TOP = KeyBindingHelper.registerKeyBinding(new KeyBinding("not-enough-servers.MS_TOP", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_HOME, "not-enough-servers.name")); - public static KeyBinding SERVER_LIST_BOTTOM = KeyBindingHelper.registerKeyBinding(new KeyBinding("not-enough-servers.MS_BOTTOM", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_END, "not-enough-servers.name")); - public static KeyBinding SERVER_DELETE = KeyBindingHelper.registerKeyBinding(new KeyBinding("not-enough-servers.MS_DELETE", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_DELETE, "not-enough-servers.name")); - public static KeyBinding SERVER_RENAME = KeyBindingHelper.registerKeyBinding(new KeyBinding("not-enough-servers.MS_RENAME", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_R, "not-enough-servers.name")); - public static KeyBinding SERVER_ADD = KeyBindingHelper.registerKeyBinding(new KeyBinding("not-enough-servers.MS_ADD", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_A, "not-enough-servers.name")); +// public static KeyBinding SERVER_LIST_TOP = KeyBindingHelper.registerKeyBinding(new KeyBinding("not-enough-servers.MS_TOP", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_HOME, "not-enough-servers.name")); +// public static KeyBinding SERVER_LIST_BOTTOM = KeyBindingHelper.registerKeyBinding(new KeyBinding("not-enough-servers.MS_BOTTOM", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_END, "not-enough-servers.name")); +// public static KeyBinding SERVER_DELETE = KeyBindingHelper.registerKeyBinding(new KeyBinding("not-enough-servers.MS_DELETE", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_DELETE, "not-enough-servers.name")); +// public static KeyBinding SERVER_RENAME = KeyBindingHelper.registerKeyBinding(new KeyBinding("not-enough-servers.MS_RENAME", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_R, "not-enough-servers.name")); +// public static KeyBinding SERVER_ADD = KeyBindingHelper.registerKeyBinding(new KeyBinding("not-enough-servers.MS_ADD", InputUtil.Type.KEYSYM, GLFW.GLFW_KEY_A, "not-enough-servers.name")); public int attemptAdd(com.mojang.brigadier.context.CommandContext context) { MinecraftClient client = MinecraftClient.getInstance();