Jump to content

[1.12] Crash on world load - HandshakeMessageHandlerException


ProfessorLucario

Recommended Posts

Forgive me if this is the wrong section.

 

Every so often (I want to say maybe 10-20% of attempts), when I try to load my test world, the game crashes with a ClassCastException related to client/server handshakes. I'm not sure what causes it exactly, but if I reload the world after the crash the player is back at the world spawn with their inventory wiped. The error only started once I updated my codebase to 1.12, leading me to believe that it's related to the new registry system.

 

Crash log: https://pastebin.com/SWCzxnkL

 

Thank you in advance for helping me fix, or at least understand, the problem.

 

EDIT: I just tried running the mod in an actual MC client instead of a development environment, and it doesn't seem to happen. However, since the error is random in nature it's entirely possible that I just got lucky.

Edited by ProfessorLucario
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.