Jump to content

Handle message data if channel was already registry


WildHeart

Recommended Posts

There is a channel from which I need to receive incoming data, but as I noticed, Forge does not provide such an opportunity or am I missing something? It would be possible to register the desired channel and add a listener to it, but then the game will crash and give an error about an already existing channel.

Link to comment
Share on other sites

Yes, I know. There is a WorldEdit mod, I need to get data from its channel for my mod on the client. I can leave the mod only on the server and register the WorldEdit channel. But I am testing the mod in the ide and at startup the WorldEdit channel is registered on both sides, which prevents the mod from launching

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.