Sophisticated Core (Unofficial Fabric port)

Sophisticated Core (Unofficial Fabric port)

1M Downloads

Server Crash with litematica

Shadowbee27 opened this issue · 14 comments

commented

Describe the bug
When i tried viewing the material list of a farm in litemetica the server closed, because it crashed
[crash-2024-05-30_14.31.58-server.txt](https://github.com/Salandora/SophisticatedCore/files/15500128/crash-2024-05-30_14.31.58-server.txt)
to reproduce:

  1. start the server
  2. in game press m to open litematica main menu
  3. click load schematic
  4. choose one
  5. click material list
  6. server crash

Expected behavior
server crash

commented

Ohh I know what is going on, as a quick fix add litematica to the server.
I accidentialy used a class from litematica without realizing it would be a problem....

commented

Correction don't add litematica, the class I used is in malilib, so adding malilib should be sufficient.
Sorry for the confusion

commented

I´ve been testing and the server even crashes when the mod is only installed on the client

commented

Hm the server still crashes, probably becaues malilib is only client side

commented

Yes I can test it

commented

Wait what? Okay now I need to dig deeper into this, malilib should have solved that problem as the utility class I used is in there.
Do you happen to have a new crash log?

commented

That's the old one that you already posted in the report.

commented

Okay I additionally checked malilib real quick and yeah the fabric.mod.json is specifically set to client environments so the whole workaround would not work.

I should have a proper fix ready in a couple minutes, would you like to test it then?

commented
commented

Screenshot 2024-05-30 180721
Here are all mods form the server mod folder

commented

Okay github finished compiling now:
https://github.com/Salandora/SophisticatedMods/actions/runs/9305793040

You wanna download the Artifacts file, it's a zip file.
In there you'll find a bunch of files you need these:

  • sophisticatedcore-0.5.109+mc1.20.1-SNAPSHOT-build.81.jar
  • sophisticatedbackpacks-3.19.5+mc1.20.1-SNAPSHOT-build.81.jar (If you have Backpacks)
  • sophisticatedstorage-0.8.60+mc1.20.1-SNAPSHOT-build.81.jar (If you have Storage)
commented

With the new version the porblem is fixed

commented

Bugfix release is out.