Skip to content

Crash when opening string list config entries #167

@DecoMocha

Description

@DecoMocha

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions