Configured

Configured

62M Downloads

Crash when opening string list config entries

DecoMocha opened this issue ยท 1 comments

commented

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

  1. Launch Minecraft 1.20.1 using Forge and Configured 2.2.3.
  2. Open the configuration menu for any mod that defines a list of strings.
  3. Click on the button that is meant to open or edit that list.
  4. 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)

https://mclo.gs/svS3Qlu

Additional context

No response

commented

Edit: I noticed that Cold Sweat discourages using Configured to edit it's configs. That's one mod that has atleast noted issues; but other mods are I believe undocumented at this time