mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
feat: Added a /tab command to display the list of online players
This commit is contained in:
commit
76c3403700
12 changed files with 729 additions and 2 deletions
|
|
@ -2138,7 +2138,7 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
|
||||
// Consume all action-selected fields to keep entry boundaries aligned.
|
||||
if (protocolVersion >= MC_1_21_2_Version && (actionBitset & 1 << 6) > 0) // Actions bit 6: update list order
|
||||
dataTypes.ReadNextVarInt(packetData);
|
||||
player.TabListOrder = dataTypes.ReadNextVarInt(packetData);
|
||||
|
||||
if (protocolVersion >= MC_1_21_4_Version && (actionBitset & 1 << 7) > 0) // Actions bit 7: update hat
|
||||
dataTypes.ReadNextBool(packetData);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue