Unique Enchantments Base

Unique Enchantments Base

5M Downloads

[UniqueBase, 1.16.5] Key bind hash map can get negative array bounds crash if world is loaded whilst window not in focus

Kaleidio opened this issue ยท 2 comments

commented

Only crashes whilst initializing a world in singleplayer, if the window was not in focus whilst it was opening. Seemingly random and uncommon crash but has happened multiple times now to me.

https://pastebin.com/KM19gk6i

simple protection against negative bounds may or may not work. it is possible this method needs to tick at a different time as well. tracelog contains no mention of any other mods nor their mixins so I cannot suspect a conflict. It might be some awfully nested forge bug with where postClientTick gets fired at a time uniquebase does not expect.

commented

Ok, yeah this is a edge case that might have been slipped.
I look at it the moment i am not rewriting 6 mods at the same time.

commented

Ok should be fixed now