[1.21.1 NeoForge] Rebinding "Sneak" to any mouse button causes Creative search bar crash
StarWithRockDots opened this issue ยท 1 comments
If "Sneak" is rebound to a mouse button at the time of loading and joining the world, then the game will crash immediately upon attempting to input text in the Creative menu search bar
Forgetful edit: For clarity's sake, I can confirm this crash only happens under these conditions with Ars Nouveau present
Mod version: 1.21.1-5.8.3-all
NeoForge version: 21.1.172
Tested in a directory containing only Ars Nouveau, GeckoLib (version 1.21.1-4.7.5.1), and Curios (version 9.5.1+1.21.1)
Some notes from my personal observations while testing--
- Left Button, Right Button, Middle Button, Button 4, and Button 5 have all been tested by me, and every one of them led to the crash when used for "Sneak"
- Rebinding "Sneak" to another key on the keyboard does not seem to lead to a crash
- The crash seemingly does not happen if "Sneak" is rebound from an unaffected key to one of the affected keys while already in the world. As far as I've tested, the key has to already be bound to an affected key at the time the world is loaded and joined
- If "Sneak" is bound to an affected key at the time the world is loaded and joined, but is then bound to an unaffected key while in the world, then the crash will not occur most of the time. I have seen it still happen uncommonly after rebinding under said conditions, but am not sure about the exact technical reason
Steps to reproduce--
- In the main menu, before entering the world, go Options>Controls>Key Binds and rebind "Sneak" to any button on your mouse
- Create and/or enter a world in Creative mode
- Open the Creative menu and navigate to the search tab
- Attempt to type anything in the search bar
- Crash
Here's an example crash log, where I had "Sneak" bound to "Button 4" at the time: