[1.18.2] Hard Crash due to Loading Client Side GUI Screens on dedicated server.
Terminal-Access opened this issue ยท 1 comments
Describe the crash / error
Mod is attempting to load a client side class on a dedicated server, causing the server to hard crash with the following error.
java.lang.RuntimeException: Attempted to load class net/minecraft/client/gui/screens/Screen for invalid dist DEDICATED_SERVER
To Reproduce
Steps to reproduce the behavior:
- Download Latest version of the mod and run your dedi server.
- See error
Expected behavior
Mod dosent attempt to load client side classes on a dedicated server.
Logs
Server Crash Log - https://pastebin.com/a1pxQYgn
Server Latest Log - https://pastebin.com/3GkT8kMq
Server Debug Log - https://pastebin.com/dprAHcyL
Technical Information (please complete the following information):
Minecraft-version: 1.18.2
Forge-version: 40-1-31
Mod-version: 1.12.1