Minenash / CustomHUD

A highly customizable variable-based text HUD for Minecraft
MIT License
77 stars 23 forks source link

Cannot read field "enabled" because the return value of "com.minenash.customhud.CustomHud.getActiveProfile()" is null #85

Closed moxvallix closed 1 year ago

moxvallix commented 1 year ago

https://mclo.gs/5itVnrc

CustomHUD seems to crash if an old config.json is in the config folder. Removing it seems to fix the crash.

moxvallix commented 1 year ago

I'll also add: I seem to get a crash as well when trying to toggle enabled. Changing the issue name to better fit.

moxvallix commented 1 year ago

I made a patch for this in https://github.com/Minenash/CustomHUD/pull/86

EldraTheThird commented 1 year ago

same issue

moxvallix commented 1 year ago

While this issue is open, I have patched a version here for my own modpack, which fixes this issue.

https://github.com/optipack/ported-mods/releases/tag/v1.3.9

Minenash commented 1 year ago

Fixed in v3.1