Crash when opening string list config entries
DecoMocha opened this issue ยท 1 comments
Describe the bug
Attempting to click a button to edit an array or list of strings, causes the client to crash with a ClassCastException. This occurs consistently across various mods and is not tied to a single configuration file.
Mods tested include Thirst Was Taken (for list of itemIds), Cold Sweat (for list of biomes), Carry On (for blacklist of excluded entities), and so on.
From the log, the crash appears to stem from Configured attempting to treat a List object as a String during GUI rendering for editable list entries.
To Reproduce
- Launch Minecraft 1.20.1 using Forge and Configured 2.2.3.
- Open the configuration menu for any mod that defines a list of strings.
- Click on the button that is meant to open or edit that list.
- The client crashes immediately.
Expected behavior
The configuration screen should display the list editor, allowing the user to add, remove, or modify the individual string entries.
Mod Version
2.2.4
Minecraft Version
1.20.1
Modloader
Forge 47.4
Crash Log (if applicable)
Additional context
No response