Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for >0 instead of !=0 #283

Merged
merged 1 commit into from
Nov 24, 2023
Merged

Check for >0 instead of !=0 #283

merged 1 commit into from
Nov 24, 2023

Conversation

mitchej123
Copy link
Contributor

Fixes the error I was seeing with lwjglxdebug

    Description : Invalid key -1
    Stacktrace  :
org.lwjgl.glfw.GLFWErrorCallbackI.callback(GLFWErrorCallbackI.java:43)
org.lwjgl.system.JNI.invokePI(Native Method)
org.lwjgl.glfw.GLFW.glfwGetKey(GLFW.java:3746)
org.lwjglx.debug.$Proxy$4840.glfwGetKey577(Unknown Source)
org.lwjglx.input.Keyboard.isKeyDown(Keyboard.java:263)
net.minecraft.client.settings.KeyBinding.hodgepodge$updateKeyStates(KeyBinding.java:590)
net.minecraft.client.Minecraft.handler$zeb000$hodgepodge$updateKeysStates(Minecraft.java:6596)
net.minecraft.client.Minecraft.setIngameFocus(Minecraft.java:1386)
net.minecraft.client.Minecraft.displayGuiScreen(Minecraft.java:871)
net.minecraft.client.gui.GuiChat.keyTyped(GuiChat.java:119)

@mitchej123 mitchej123 requested review from eigenraven and a team November 24, 2023 16:14
@mitchej123 mitchej123 enabled auto-merge (rebase) November 24, 2023 16:17
@mitchej123 mitchej123 merged commit eb08425 into master Nov 24, 2023
1 check passed
@mitchej123 mitchej123 deleted the valid-keycodes branch November 24, 2023 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants