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:
- Download and install latest build.
- 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
}
});
- 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.
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:
Expected behavior
Have the same behavior as build #669.
Screenshots

#669
#670

Version Info
Provide your ProtocolLib install info with
/protocol dumpthrough pastebin.Additional context
No additional context.