Jump to content

[1.7.10] SimpleNetworkWrapper crash


gegy1000

Recommended Posts

I've recently started using the SimpleNetworkWrapper for sending packets, but when I start the server I get this crash: http://pastebin.com/KndVFmUp

 

I have no idea what is causing this, if anyone could help I would be very grateful.

 

The source can be found here: https://github.com/FiskFille/TransformersMod/blob/master/src/main/java/fiskfille/tf/common/packet/base/TFPacketManager.java

Link to comment
Share on other sites

First of all, please do not implement IMessage and IMessageHandler on the same class.

Then: Even if the packet is only received on the client you cannot use client-only classes in it, since of course the server needs to load the class as well, to send the packet.

 

Tried this, still crashes with the same log, what are we doing wrong? D:

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.



×
×
  • Create New...

Important Information

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