Configured icon indicating copy to clipboard operation
Configured copied to clipboard

[1.18] Crash when accessing ConfigScreen with nightconfigfixes

Open Tidy-Bear opened this issue 2 years ago • 0 comments

A code change is missing when merging Fuzss's compatibility PR into 1.18.X, which causes ClassCastException when initializing ConfigScreen with nightconfigfixes enabled.

Current (1.18.X): https://github.com/MrCrayfish/Configured/blob/df8f2748cdc90c35bea2e8f8405cbb9c8c329a24/src/main/java/com/mrcrayfish/configured/impl/forge/ForgeConfig.java#L87-L91

Expected (1.19.X): https://github.com/MrCrayfish/Configured/blob/43287a97063186351ed7184fb8ec9846ebb1f60c/src/main/java/com/mrcrayfish/configured/impl/forge/ForgeConfig.java#L86-L90

The issue seems to exist in multiloader/1.19.X, too.

Related issue: https://github.com/Fuzss/nightconfigfixes/issues/9

Tidy-Bear avatar Oct 30 '23 08:10 Tidy-Bear