ProtocolLib

3M Downloads

No string fields in the SERVER_INFO server packet.

LB45440078L opened this issue ยท 0 comments

commented
  • This issue is not solved in 5.2.0-SNAPSHOT

When reading string at index '0' from SERVER_INFO packet, sent from server to client, it is out of bounds.

Steps to reproduce the behavior:
Registering my packet adapter, simply reading field 0 for the SERVER_INFO packet during packetSending.
https://paste.gg/p/anonymous/d0f79357164f4dc1a7c3e5ddd64d4331

Expected behavior
https://wiki.vg/Server_List_Ping#Status_Response
Packet should contain exactly and one String field.

Proof\Crash Log:
https://paste.gg/p/anonymous/5b4ffd7c537b4222a2d295b51fba4e9f

Version: 5.2.0-SNAPSHOT, SpigotMC Server 1.20.4.