ServerCore

ServerCore

7M Downloads

Crash with Suggestion Tweaker

SplendidAlakey opened this issue ยท 3 comments

commented

Describe the bug

After updating ServerCore to 1.3.5, the game crashes on startup, if Suggestion Tweaker is also installed.

Rolling back to 1.3.3 lets the game start, hence reporting here.

Reproduce

  1. Install ServerCore 1.3.5 and Suggestion Tweaker
  2. Run the game

Expected behavior

No crash.

Versions -Latest is not a version!

ServerCore: 1.3.5
Minecraft: 1.19.2

Mod incompatibilities

Suggestion Tweaker

Logs: https://gist.github.com/SplendidAlakey/c088c34100a65ccfbe609f794c3400b5

commented

Hey, thanks for reporting this issue. It seems to happen because of the new multi-platform setup, and some platform specific methods need to be loaded before mixin loads to load the config and check for other mods being loaded.

There are a few platform-specific methods using minecraft classes in there aswell though, and even if they aren't actually used until later the classloader will load them immediately with the rest, causing any mods mixing into them to crash. Will probably have to look into splitting up the platform specific methods to fix this.

commented

Would you be able to try out the development build listed here to see if the issue still persists?
In my testing it works properly, at least in dev environment. If it works I'll be pushing this to all the other branches aswell.

commented

Yep, that works, thank you!