Skip to content

Commit

Permalink
Follow Checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
TacoMonkey11 committed Mar 30, 2023
1 parent 426bfb0 commit 0fa2fce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.option.KeyBinding;
import net.minecraft.client.util.InputUtil;
import org.lwjgl.glfw.GLFW;

import com.github.reviversmc.toomanybinds.autocompletion.LauncherCompletion;
import com.github.reviversmc.toomanybinds.autocompletion.VanillaKeybindSuggestions;

public class TooManyBinds implements ModInitializer {
public class TooManyBinds implements ModInitializer {
public static ModConfig config;
public static KeyBinding launcherKey;
public static KeyBinding favoriteKey;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.github.reviversmc.toomanybinds.autocompletion;


import net.minecraft.client.MinecraftClient;
import net.minecraft.client.option.GameOptions;
import net.minecraft.client.option.KeyBinding;
Expand Down Expand Up @@ -54,13 +53,17 @@ public void execute() {
bind.setPressed(false);

// Amecs compat

/*
if (FabricLoader.getInstance().isModLoaded("amecsapi")) {
AmecsIntegration.priorityPressIfApplicable(bind);
}
*/
}
}

public String getId() {
return bind.getTranslationKey();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import java.util.Set;

import net.minecraft.client.MinecraftClient;
import net.minecraft.client.option.GameOptions;
import net.minecraft.client.option.KeyBinding;

import com.github.reviversmc.toomanybinds.TooManyBinds;
Expand Down

0 comments on commit 0fa2fce

Please sign in to comment.