Skip to content

String Casting Crash with invtweaks config. #157

@Cyphecx

Description

@Cyphecx

Minecraft version: 1.20.1
Inventory Tweaks Refoxed: 1.10
Configured: 2.2.3

Clicking edit on Client/Sorting/ Container Overrides or Category causes an immediate crash.
Seems to be related to this line in EditListScreen.java:
this.initialValues.addAll(holder.get().stream().map(o -> new StringHolder(this.listType.getStringParser().apply(o))).toList());
Where its possible for the list to contain an object of this type com.electronwill.nightconfig.core.SimpleCommentedConfig

https://bytebin.lucko.me/ijwM4wqVII

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions