Lifts

Lifts

1M Downloads

Crash with keys bound to mouse side buttons

EcoBuilder13 opened this issue ยท 0 comments

commented

When you bind specific buttons to side keys on your mouse it will crash you game on start up. In this case I had a user who had their jump and shift keys set as their side buttons, I read their logs and found that it is an issue with Lifts. I was able to reproduce the issue with only Lifts installed with the required dependencies. This is not reproduceable in vanilla. I had button 5 as jump and button 4 as sneak.
Minecraft - 1.16.5
Fabric API - 0.32.5
Lifts - 1.0.5-BETA

Error [main/WARN]: Failed to create window: net.minecraft.class_1041$class_4716: GLFW error 65539: Invalid key 3 at net.minecraft.class_1041.method_4501(class_1041.java:216) ~[intermediary-minecraft-1.16.5-client.jar:?] at org.lwjgl.glfw.GLFWErrorCallbackI.callback(GLFWErrorCallbackI.java:36) ~[lwjgl-glfw-3.2.2.jar:build 10] at org.lwjgl.system.JNI.invokePI(Native Method) ~[lwjgl-3.2.2.jar:build 10] at org.lwjgl.glfw.GLFW.glfwGetKey(GLFW.java:3409) ~[lwjgl-glfw-3.2.2.jar:build 10] at net.minecraft.class_3675.method_15987(class_3675.java:465) ~[intermediary-minecraft-1.16.5-client.jar:?] at io.github.lucaargolo.lifts.common.block.BlockCompendium.displayHiddenTooltip(BlockCompendium.java:98) ~[lifts-1.16.5-1.0.5-BETA.jar:?] at io.github.lucaargolo.lifts.common.block.BlockCompendium$registerBlockItems$1$1.method_7851(BlockCompendium.java:66) ~[lifts-1.16.5-1.0.5-BETA.jar:?] at net.minecraft.class_1799.method_7950(class_1799.java:631) ~[intermediary-minecraft-1.16.5-client.jar:?] at net.minecraft.class_310.method_1485(class_310.java:717) ~[intermediary-minecraft-1.16.5-client.jar:?] at net.minecraft.class_1126.method_4795(class_1126.java:36) ~[intermediary-minecraft-1.16.5-client.jar:?] at net.minecraft.class_1121.method_4798(class_1121.java:48) ~[intermediary-minecraft-1.16.5-client.jar:?] at net.minecraft.class_310.method_1535(class_310.java:730) ~[intermediary-minecraft-1.16.5-client.jar:?] at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?] at net.minecraft.class_310.method_1546(class_310.java:729) ~[intermediary-minecraft-1.16.5-client.jar:?] at net.minecraft.class_310.(class_310.java:544) ~[intermediary-minecraft-1.16.5-client.jar:?] at net.minecraft.client.main.Main.main(Main.java:177) [intermediary-minecraft-1.16.5-client.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226) [fabric-loader-0.11.3.jar:?] at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:146) [fabric-loader-0.11.3.jar:?] at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28) [fabric-loader-0.11.3.jar:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196) [NewLaunch.jar:?] at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231) [NewLaunch.jar:?] at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?] at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?]