
Toad lib 1.2.1 1.20.1 crashes on dedicated server start
Ajw2003 opened this issue ยท 8 comments
What operating systems are you seeing the problem on?
Windows
What the loader are you seeing the problem on?
Forge
Describe the bug
The important part of the crash log is below where it attempts to load a client side config class probably the gui if I had to guess on the server side.
com/mr_toad/lib/api/config/entry/BoolEntry for invalid dist DEDICATED_SERVER
[08Jan2025 19:07:16.076] [main/WARN] [mixin/]: Error loading class: com/mr_toad/lib/api/config/entry/BoolEntry (java.lang.RuntimeException: Attempted to load class com/mr_toad/lib/api/config/entry/BoolEntry for invalid dist DEDICATED_SERVER)
[08Jan2025 19:07:16.076] [main/WARN] [mixin/]: Not transforming member reference INVOKEVIRTUAL for com/mr_toad/lib/api/config/entry/BoolEntry.get()Ljava/lang/Object; as owner class was not found
[08Jan2025 19:07:16.449] [main/INFO] [net.minecraft.server.Bootstrap/]: ModernFix reached bootstrap stage (13.68 s after launch)
[08Jan2025 19:07:16.466] [main/ERROR] [net.minecraftforge.fml.loading.RuntimeDistCleaner/DISTXFORM]: Attempted to load class com/mr_toad/lib/api/config/ToadConfig for invalid dist DEDICATED_SERVER
Steps to reproduce
update from 1.1.5 to 1.2.1 and try to launch server
crash before being able to finish launching
What version of the toadlib are you using?
1.2.1
ToadLib should work on the client and not on the server, I don't have a way to test this.
As soon as version 1.2.2 is released, if you don't mind, I'd like you to test the new version and provide the results.
ToadLib should work on the client and not on the server, I don't have a way to test this. As soon as version 1.2.2 is released, if you don't mind, I'd like you to test the new version and provide the results.
I'd be happy to provide the results as soon as the new version is available, I can also build the file from source and test pre-release if necessary
[12Jan2025 01:44:59.360] [main/ERROR] [net.minecraftforge.fml.loading.RuntimeDistCleaner/DISTXFORM]: Attempted to load class com/mr_toad/lib/api/config/entry/BoolEntry for invalid dist DEDICATED_SERVER
[12Jan2025 01:44:59.360] [main/WARN] [mixin/]: Error loading class: com/mr_toad/lib/api/config/entry/BoolEntry (java.lang.RuntimeException: Attempted to load class com/mr_toad/lib/api/config/entry/BoolEntry for invalid dist DEDICATED_SERVER)
Pretty much the same unfortunately sorry for the delay