Jump to content

Recommended Posts

Posted

Hello, I wanted to test my mod on a server (just localhost) but when I run/debug the server it crashes

My code: https://github.com/Egietje/DeGeweldigeMod

The eclipse console:

 

  Reveal hidden contents

 

Crash log(txt):

 

  Reveal hidden contents

 

Posted

You're using client-only code in common code.  Specifically you are calling

Display.setTitle("Minecraft - 1.10.2 | DeGeweldigeMod - " + Reference.VERSION);

 

You should not be doing this at all ever.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

From your previous thread:

  Quote
Using rendering-related classes like
Display

in common code will crash the dedicated server since it doesn't use those libraries. Rendering-related code must only run on the client side. Changing the window title is a bit obnoxious, the user doesn't need to be constantly reminded that they're using your mod.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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