Iron Chests (Fabric)

Iron Chests (Fabric)

2M Downloads

1.20.1 - Crashes when used on a server

KNIZE1007 opened this issue ยท 8 comments

commented

crash_log.txt
crashes when any of the chests are opened on a server. it works fine in singleplayer, even when on a LAN world.

commented

Hi,
Same here. My crash-report : https://pastebin.com/9SCTuFnD
Thanks :)

commented

Same issue, looks like used UI library (https://github.com/CottonMC/LibGui/) version mismatch (java.lang.NoSuchFieldError: backgroundPainter)
crash-2024-01-03_19.38.59-server.txt

commented

The error points to the "LibGui" within the ironchest jar causing the error.
I downloaded the updated LibGui jar from:
https://github.com/CottonMC/LibGui/releases/tag/8.1.1
Opened Ironchests-2.0.0.jar using Winrar, Navigated to META-INF\jars
Added the new LibGui-8.1.1+1.20.1.jar file
Deleted the old LibGui-8.0.0.jar that was there
Then edited fabric.mod.json (in the main directory) and changed "file": "META-INF/jars/LibGui-8.0.0.jar"
to: "file": "META-INF/jars/LibGui-8.1.1+1.20.1.jar"

Tested and now works correctly on server without crashes.
Hope this helps!

commented

+1.
java.lang.NoSuchFieldError: backgroundPainter
crash-2024-01-07_22.14.38-server.txt

commented

Fixed the issue

commented

Fixed in 1053ec9.

commented

I have the same crash on 1.19.2. Using oldjollysanta's method to upgrade LibGui from 6.2.0 to 6.4.0 (the latest version with 1.19.2 support) did not help.