-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
Failing to launch, MixinTargetAlreadyLoadedException #388
Comments
Not 100% sure if it's the issue as I don't see why it would only pop up with that PR but your coremod is loading your normal mod class and executing its static initializer (ref). |
I'm not quite sure how it works either, and something that changed in the pull had to have done it as it only happens there, but nothing mixin related changed. Maybe the module lookup somehow tries to load a module before mixins? It shouldn't happen but it's possible, as from what I can tell modules are loaded even if mc.player is null (ie, modules load even when not loaded into a world) but I shouldn't have an issue from that, as the issue here is that a Mixin is already loaded when it tried loading it. |
No, what I was trying to say is that loading non-coremod classes from your coremod is not allowed (i.e. once you do it, all bets are off) and the specific error you're getting would perfectly fit that. |
The one I linked in my first reply: https://github.com/S-B99/kamiblue/blob/cf3207db8845d7311a4eb230f247e3252667525b/src/main/java/me/zeroeightsix/kami/mixin/MixinLoaderForge.java#L16 |
Uh, that fixed it? I think? |
Yep, launched. Not 100% sure why that was the issue. Thanks! |
If you try to launch the
class-lookup
branch of my repo, you'll get this error.You can clone it with
git clone -b class-lookup https://github.com/S-B99/kamiblue
and find instructions to setup a workspace here: https://blue.bella.wtf/contributingThe changed files can be found here :https://github.com/S-B99/kamiblue/pull/317/files
The only changes in Mixin related files is changing the class lookup manager, as you can see shown in the link but you can check for yourself.
I don't have duplicate @ Mixin annotations anywhere, nor duplicate mixin registers in
mixins.kami.json
The text was updated successfully, but these errors were encountered: