-
Notifications
You must be signed in to change notification settings - Fork 132
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
StackOverflowException when scrolling down in litematica config menu #149
Comments
This obviously doesn't happen "in normal circumstances" or the mod would be unusable. Did you build malilib yourself, maybe using Mojang mappings? There is a method name conflict in the text field class when using Mojmap. Or where is |
Yes im using Mojang mappings in my dev environment. |
I looked and the EditBox class from Minecraft also has a setCursorPosition() method |
Yes exactly. You would have to rename that method, and the places it's called from (which in my mods seems to only be from Litematica's |
Any suggestions on what steps are required to fix this from the other project? In my case I am adding malilib and litematica to my baritone build and seeing the same thing from this branch: If you drop the two libs into the If I build baritone, and deploy that mod alongside litematica and malilib into a fresh minecraft, I don't see the problem. It only occurs in the dev env. (But this makes further dev work a PITA) |
@EvilCodeZ did you manage to fix this? |
Not really i tried this but then it started crashing on some other places but i don't remember it exactly because i quitted my project months ago.
|
The "setCursorPostion" -- the problem is the name of the function, because it causes problems against "Lunar" from using Mojmap, so the function was deleted from malilib . |
Used malilib version: 0.18.1
Used litematica version: 0.17.0
When you open the config screen in litematica and scroll down to the end with your mouse wheel and when reaching the end the game crashes because of this exception:
The text was updated successfully, but these errors were encountered: