Up-Mods / OkZoomer

Adds a highly-configurable zoom key. The zoom is yours!
133 stars 25 forks source link

Crash When Loading 4.0.0-beta.2 With Config From 4.0.0-alpha.4 #11

Closed mrgrim closed 4 years ago

mrgrim commented 4 years ago

Deleting the config solved the issue. Unfortunately, in my haste, I did not save the config. Crash report attached. crash-2020-08-12_17.17.13-client.txt

ghost commented 4 years ago

I'm aware of the issue, the 4.0.0alpha to 4.0.0beta config file converter currently crashes after an attempt to fix it for Java 8 and it will either be fixed or removed for the next release, the only solution for now is not having an okzoomer-next.json5 file in the config folder

Madis0 commented 4 years ago

How about just renaming it like suffix "-old" instead of converting?

ghost commented 4 years ago

How about just renaming it like suffix "-old" instead of converting?

Not a bad idea, I'll consider that

ghost commented 4 years ago

Fixed on 4.0.0-beta.3, the conversion now works properly, but only on Java 11+ due to issues, however, it won't crash anymore on any Java version (including 8-10). On an unrelated note, the conversion leaves a backup for the old config file.