Skip to content

Networking sync packet sent with incorrect content #715

Description

@Jamalam360

I may be misunderstanding

In the Forge networking manager impl (this line:

NetworkManager.sendToServer(NetworkManagerImpl.SYNC_IDS, NetworkManagerImpl.sendSyncPacket(NetworkManagerImpl.C2S));
):

  1. Client recvs a list of packets that the server can handle (i.e. C2S packets)
  2. Client should respond with a list of packets that it can handle (i.e. S2C packets)

It seems there is a typo in the referenced line causing the client to send registered C2S handlers instead.

I have only verified this exists on 1.20.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions