Open KonSola5 opened 7 months ago
Using MidnightLib 1.4.1-fabric.
To reproduce:
Make a config with a string list.
Launch the game and open the config screen.
Try to insert something into the textbox.
Crash due to UnsupportedOperationException.
Launch Minecraft, but this time open the config screen and close it (so that the config file generates).
Succeed.
Log: 2023-12-01-7.log
Current workaround: Add MidnightConfig.write("modid"); below the MidnightConfig.init("modid", ConfigFile.class) so that the config file is present and filled.
MidnightConfig.write("modid");
MidnightConfig.init("modid", ConfigFile.class)
Using MidnightLib 1.4.1-fabric.
To reproduce:
Make a config with a string list.
Launch the game and open the config screen.
Try to insert something into the textbox.
Crash due to UnsupportedOperationException.
Launch Minecraft, but this time open the config screen and close it (so that the config file generates).
Try to insert something into the textbox.
Succeed.
Log: 2023-12-01-7.log