diff --git a/core b/core index 79224bdca..5ddf4f6dd 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit 79224bdca37da5d3d5a05c4db9dfa7e15b1f37bd +Subproject commit 5ddf4f6ddffc16ac436abe795dfe79115f3288b1 diff --git a/fabric/src/main/java/com/seibel/lod/fabric/ClientProxy.java b/fabric/src/main/java/com/seibel/lod/fabric/ClientProxy.java index 4b911fce6..fb9458d33 100644 --- a/fabric/src/main/java/com/seibel/lod/fabric/ClientProxy.java +++ b/fabric/src/main/java/com/seibel/lod/fabric/ClientProxy.java @@ -67,7 +67,7 @@ public class ClientProxy * @author Ran */ public void registerEvents() { - /* Registor the mod accessor*/ + /* Register the mod accessor*/ /* World Events */ //ServerTickEvents.START_SERVER_TICK.register(this::serverTickEvent); @@ -165,31 +165,31 @@ public class ClientProxy ILodConfigWrapperSingleton CONFIG = SingletonHandler.get(ILodConfigWrapperSingleton.class); if (CONFIG.client().advanced().debugging().getDebugKeybindingsEnabled()) { - HashSet currectKeyDown = new HashSet(); + HashSet currentKeyDown = new HashSet(); // Note: Minecraft's InputConstants is same as GLFW Key values //TODO: Use mixin to hook directly into the GLFW Keyboard event in minecraft KeyboardHandler // Check all keys we need for (int i = GLFW.GLFW_KEY_A; i <= GLFW.GLFW_KEY_Z; i++) { if (InputConstants.isKeyDown(Minecraft.getInstance().getWindow().getWindow(), i)) { - currectKeyDown.add(i); + currentKeyDown.add(i); } } for (int i : KEY_TO_CHECK_FOR) { if (InputConstants.isKeyDown(Minecraft.getInstance().getWindow().getWindow(), i)) { - currectKeyDown.add(i); + currentKeyDown.add(i); } } // Diff and trigger events - for (int c : currectKeyDown) { + for (int c : currentKeyDown) { if (!previousKeyDown.contains(c)) { ClientApi.INSTANCE.keyPressedEvent(c); } } // Update the set - previousKeyDown = currectKeyDown; + previousKeyDown = currentKeyDown; } } }