mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Reverted a mistake
This commit is contained in:
parent
3d8c112159
commit
7c364731f5
1 changed files with 2 additions and 1 deletions
|
|
@ -1957,8 +1957,9 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
|
||||
packet.Add(button);
|
||||
if (protocolversion < MC117Version) packet.AddRange(dataTypes.GetShort(actionNumber));
|
||||
if (protocolversion >= MC1165Version)
|
||||
if (protocolversion >= MC19Version)
|
||||
packet.AddRange(dataTypes.GetVarInt(mode));
|
||||
else packet.Add(mode);
|
||||
|
||||
// 1.17+
|
||||
if (protocolversion >= MC117Version)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue