Jump to content

[1.7.10] Error running mod on server


Mrhand3

Recommended Posts

Hi! Im trying to debug my mod on a server and it keeps giving me this error: (It wouldnt let me insert code)

"Attempted to load class net/minecraft/client/multiplayer/WorldClient for invalid side SERVER"

 

It tells me that the error was caused by a FML class but its probably one of my classes.

Is there somewhere else I should look to find the error?

 

Thanks for the help!

Link to comment
Share on other sites

Well, anything that references client-only classes should be on the client only part of the proxy. This would be things having to do with textures, rendering, etc. In your case the code that is causing the problem (whatever is referncing WorldClient) will have to either go in the client-only part of your proxy, or be modified so that it uses World and not WorldClient.

Don't make mods if you don't know Java.

Check out my website: http://shadowfacts.net

Developer of many mods

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.