Skip to content

PE doesn't handle LEGACY_SERVER_LIST_PING #1546

Description

@rafi67000

Describe the bug

PacketEvents doesn't call Protocol events for LEGACY_SERVER_LIST_PING.

Minecraft servers handle LEGACY_SERVER_LIST_PING in "legacy_query" handler and calls ByteBuf#release

"legacy_handler" is before decoder
PacketEvents injects before "decoder"

the order is:
legacy_query > PE-decoder > decoder
therefore PE never receives it in the first place

Software brand
paper/spigot

How To Reproduce
Listen to LEGACY_SERVER_LIST_PING packet

Expected behavior
PE calls handshake event of packetType LEGACY_SERVER_LIST_PING

Screenshots

server pipeline:
Image

place of ByteBuf#release by "legacy_query":

Image

relevant PE injection point:

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions