Since I am waiting for modrinth to verify the mod. I made some more improvement to the mod.
From now on you can play this mod on a dedicated server.
Yes before that was not possible but now it is.
Why Was This Even an Issue
due to this , the server was importing a class that it had no idea of and hence the crash.
So What Did I Do to Achieve This
with this I created two more classes , one for server and other for client , both of which implemented the Interface I just created.
The server class just souted that you are using the wrong method please check your code.
The Client Class had the actual screen code and did the actual stuff.
Now I made it so that when the item is running in server , the server class will be loaded and once the clients connect the client method would be loaded in and take priority.
Kinda hard but not that much
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.