Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak loading the mod and having a standalone copy of it conflict #8

Open
Yedelo opened this issue Aug 11, 2024 · 1 comment
Open

Comments

@Yedelo
Copy link

Yedelo commented Aug 11, 2024

When having a mod that loads this mod with the tweak loader, along with having a standalone copy from the mod (which can happen with different mods requiring the mod api differently), Forge stops the game due to a duplicate mod error (along with causing some other issues seen in log). The main solution to this would probably be to make the downloadable mod simply contain the tweaker and a bundled version. This is also done with Essential, where the container mod and mods both load it the same way.

Essential's container mod build: https://github.com/EssentialGG/EssentialLoader/blob/master/container/launchwrapper/build.gradle.kts

@Yedelo
Copy link
Author

Yedelo commented Aug 11, 2024

The tweak loader automatically adds its own jar back to the mod list, but an empty container wouldn't have any mods and would be unnecessary to add back. The hypixel-mod-api-bundled.properties file could have a container property for the tweaker to decide whether or not to load itself as a mod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant