Skip to content

Mark Lost Aether Content as an explicit optional dependency.#345

Open
Acuadragon100 wants to merge 1 commit intoRazorDevs:1.20.1-1.1from
Acuadragon100:1.20.1-1.1-always-load-after-lost-aether
Open

Mark Lost Aether Content as an explicit optional dependency.#345
Acuadragon100 wants to merge 1 commit intoRazorDevs:1.20.1-1.1from
Acuadragon100:1.20.1-1.1-always-load-after-lost-aether

Conversation

@Acuadragon100
Copy link
Copy Markdown

Deep Aether needs to load after Lost Aether Content to prevent the following crash:

java.lang.IllegalArgumentException: Failed to create model for aether:aerwhale
Caused by: java.util.NoSuchElementException: Can't find part left_chest

It's just that there isn't really anything making sure Deep Aether always loads after Lost Aether Content at the moment. The mod id for Lost Aether Content just happens to end up before Deep Aether's mod id in a hash map used to check for mod duplicates during the startup process.

As you can probably imagine, that's quite brittle. So I thought it would be a good idea to add it as an explicit optional dependency to mods.toml. That way Forge will make sure Lost Aether Content is always the first to load, avoiding the crash.

As far as I can tell this only affects 1.20.1 for now.

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.

1 participant