Skip to content

Regression bug in commit af33a2ab41199f7c564a5ca9f919e91822532cf4 #2601

@nickuc

Description

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

Describe the bug
When registering an event that listens for the handshake packet (SET_PROTOCOL), an "Incompatible version!" will appear in motd. This bug was introduced in build #670 (most likely by commit af33a2a). Build #669 does not have the same problem.

To Reproduce
Steps to reproduce the behavior:

  1. Download and install latest build.
  2. Intercept the SET_PROTOCOL packet as the following example:
ProtocolLibrary.getProtocolManager().addPacketListener(new PacketAdapter(this, PacketType.Handshake.Client.SET_PROTOCOL) {
      @Override
      public void onPacketReceiving(PacketEvent event) {
            // packet received
      }
});
  1. See error

Expected behavior
Have the same behavior as build #669.

Screenshots
#669

#670

Version Info
Provide your ProtocolLib install info with /protocol dump through pastebin.

Additional context
No additional context.

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