LoliKingdom / LoliASM

The lolis are now preparing to bytecode manipulate your game.
GNU Lesser General Public License v2.1
104 stars 22 forks source link

spongeforge crash on startup #194

Closed Dan4oby closed 10 months ago

Dan4oby commented 11 months ago

Crash when using LoliASM 5.7+ version. Log: https://pastebin.com/Qc2hSdGx

BinBashBanana commented 11 months ago

The issue is caused by the thread priority mixin, even if threadPriorityFix=false.

[main/WARN] [mixin]: @Redirect conflict. Skipping mixins.forge.optimization.json:threadchecks.MinecraftServerMixin_ForgeThreadChecks->@Redirect::forgeThreadChecks$updateServerThread(Ljava/lang/Thread;)V with priority 1000, already redirected by mixins.priorities.json:MinecraftServerMixin->@Redirect::setPriorityAndStart(Ljava/lang/Thread;)V with priority 1000
(the rest is the same as the crash above)

Removing this line is a temporary way to fix the issue: https://github.com/LoliKingdom/LoliASM/blob/16a9d12b277063605e49c5a0bc7ac833ec4122f7/src/main/java/zone/rong/loliasm/core/LoliLoadingPlugin.java#L197