Mod Menu

Mod Menu

51M Downloads

ModMenu instantiates all mod's settings screens when opening the mod menu

Sollace opened this issue ยท 0 comments

commented

Since mod menu is unneccessarily creating all these screens, besides impacting performance, if any of these mods' screens have an error it could cause a crash whilst trying to open the mod menu screen.

In my particular case, due to an inompatibility between Sodium and HDSkins, there's a crash that occurs when trying to create the dummy world the gui uses, and I was pulling my hair out trying to figure out why it was crashing from Mod Menu when, by all reason it should not even be reaching that point in the code.

My debugging led to this weird spot in Mod Menu's code:
image