Skip to content

SET_PROTOCOL is not working  #3023

@vortexthedev

Description

@vortexthedev
  • This issue is not solved in a development build

Describe the bug
1.20.6 PacketHandshakingInSetProtocol is using ClientIntent instead of EnumProtocol.

To Reproduce
Listen to PacketType.SET_PROTOCOL and try to read protocol:
ProtocolLibrary.getProtocolManager().addPacketListener(new PacketAdapter(plugin, ListenerPriority.LOWEST, PacketType.Handshake.Client.SET_PROTOCOL) { @Override public void onPacketReceiving(PacketEvent event) { PacketType.Protocol state = event.getPacket().getProtocols().read(0); } });

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions