ProtocolLib

3M Downloads

Add `PacketContainer#getUUIDList()` for PlayerListRemove packet

diogotcorreia opened this issue ยท 0 comments

commented
  • This feature is not currently present in a development build

Is your feature request related to a problem? Please describe.
The new 1.19.3 PlayerListRemove packet has a List<UUID> field.
However, there is no PacketContainer#getUUIDList() method to get the corresponding StructureModifier.

Describe the solution you'd like
A new PacketContainer#getUUIDList() method that returns a StructureModifier<List<UUID>>.

Describe alternatives you've considered
For now, we can do PacketContainer#getLists(Converters.passthrough(UUID.class)).

Additional context
nothing here

Thank you for the awesome work!
This is a niche request and not very urgent