Crash on dedicated server
Tander opened this issue · 3 comments
Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/gui/screen/Screen for invalid dist DEDICATED_SERVER
Tested on
minecraftforge:28.1.106
moreoverlays-1.16.1
Crashlog
https://hatebin.com/fqlbwwfmgy
P.S.: Yes I know it doesn't have to be on server, but looks like because of it I see this:
I can join the server, but this message is kinda annoying.
It is supposed to run client side only... but it seems like Forge doesn't have an option to make it a client side only mod. I will try to fix the crash but I don't know how to tell forge that it isn't required on the server side.
I'm not 100% about why i see X label, but the only difference between client and server - it's "More overlays". But I can join server with this message, so I'd say it's minor problem.
Could also be a render bug or something with the version comparison. In earlier versions I just had to tell forge which versions on the other side are allowed and it also had a parameter to prevent the loading of the mod completely on dedicated servers. I have to look into that a bit more.