-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Describe the issue
Worldthreader fails to launch due to a mixin conflict when used alongside the jline4mcdsrv mod.
Both mods inject into the same method MinecraftDedicatedServer$1::run() causing an InvalidInjectionException.
Crash Report
Mixin apply for mod worldthreader failed:
InvalidInjectionException: @At("INVOKE") on net/minecraft/server/dedicated/MinecraftDedicatedServer$1::getNull with priority 1000 cannot inject into net/minecraft/server/dedicated/MinecraftDedicatedServer$1::run()V
merged by org.chrisoft.jline4mcdsrv.mixin.DServerConsoleThreadInject with priority 1000
This causes the server to crash during launch:
java.lang.RuntimeException: Mixin transformation of net.minecraft.server.dedicated.MinecraftDedicatedServer$1 failed
Caused by: MixinApplyError: Mixin [...] FAILED during APPLY
Steps to Reproduce
- Install
worldthreader - Install
jline4mcdsrv(https://github.com/chirs241097/jline4mcdsrv) - Launch server
- Server crashes with mixin conflict
Environment
- Minecraft: 1.21.6
- Fabric Loader: 0.16.14
Suggested Fix by ChatGPT
Consider reducing the mixin injection priority for DedicatedServer$ConsoleHandlerThreadMixin, or changing the injection point to avoid overlap with DServerConsoleThreadInject. Alternatively, a compatibility mixin for environments with jline4mcdsrv could be added.
Metadata
Metadata
Assignees
Labels
No labels