4nner / IronChests

Iron Chests for Fabric Mod Loader
GNU General Public License v3.0
13 stars 21 forks source link

1.20.1 - Crashes when used on a server #62

Closed KNIZE1007 closed 9 months ago

KNIZE1007 commented 10 months ago

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.

Yoshun commented 10 months ago

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

aclef commented 10 months ago

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

Frog-Lover-Antony commented 9 months ago

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

bloodsbro commented 9 months ago

Same issue crash-2024-01-11_16.22.13-server.txt

oldjollysanta commented 9 months ago

Fixed the issue

oldjollysanta commented 9 months ago

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!

Absotively commented 9 months ago

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.

4nner commented 9 months ago

Fixed in 1053ec9.