Polymorph (Fabric 1.16.1 - 1.19.2)

Polymorph (Fabric 1.16.1 - 1.19.2)

12M Downloads

[Bug]: Cannot join server with Carpet + Polymorph installed

Harvle opened this issue ยท 3 comments

commented

Minecraft Version

1.21.1

What happened?

Hi, i'm unsure who to direct this to as the error is technically with Carpet according to logs, but the error only happens when this mod is added to my files, and also only happens when using it on a server. When i use the same mods in a singleplayer world, everything works as intended.

Whenever i try to add this mod to my server's mod list (i've tried multiple times with different fabric API versions), it doesn't let me connect, citing a custom_payload error when the server sends carpet:hello. As mentioned i'm not sure if this is a Carpet bug or a Polymorph bug, but it only happens when Polymorph is installed with Carpet, no other mods do this with Carpet.

How do you trigger this bug?

  1. Load up the game with both Polymorph and Carpet installed.
  2. Create a server with both of the above installed.
  3. Attempt to join the server.
  4. You will get a Connection Lost - Internal Exception: java.net.SocketException: Connection Reset error on the client, and the error i pasted into the gist on the server side.

Loader

Fabric

Loader Version

Fabric - 0.16.7

API Version

Fabric API 0.106.0

Mod Version

1.0.6+1.21.1

Relevant Log Outputs

https://gist.github.com/Harvle/02430cba47b25ed8485baac0d52cb3cc

commented

Hmm, it is strange that only Polymorph is causing this interaction, but I think it's still worth reporting to the Carpet developers instead. As far as I can tell, I'm not doing anything particularly strange with the networking packets and ultimately it's the Carpet packet that's causing the error. If nothing else, they may also have more insight about why this error is occurring on their end if it is indeed a Polymorph issue and can steer me accordingly.

commented

Thanks for looking into it, i've made an issue on the carpet repo, hopefully they're able to help.

commented

I am facing the same problem.