Skip to content

Conversation

@PerchunPak
Copy link
Member

The problem was that the mod had an empty string as id, so or prioritized the second input variable, which was None. In our case, a falsely value is (probably) fine, so I wrote a small utility function for this use case.

The mod's raw value was {'modId': 'fusion', 'modmarker': ''}

Fixes #1050

@PerchunPak PerchunPak requested a review from ItsDrike October 19, 2025 16:24
Copy link
Member

@ItsDrike ItsDrike left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm :shipit:

@PerchunPak PerchunPak merged commit 5f4d112 into master Oct 19, 2025
11 checks passed
@PerchunPak PerchunPak deleted the or_none branch October 19, 2025 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

KeyError: 'Mod version in Forge mod data must be provided.'

3 participants