mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix the PacketID on 1.13.2
This commit is contained in:
parent
8b57b657e6
commit
2fb4a91252
1 changed files with 2 additions and 2 deletions
|
|
@ -394,7 +394,7 @@ namespace MinecraftClient.Protocol.Handlers
|
||||||
case PacketOutgoingType.InteractEntity: return 0x0D;
|
case PacketOutgoingType.InteractEntity: return 0x0D;
|
||||||
case PacketOutgoingType.ClickWindow: return 0x08;
|
case PacketOutgoingType.ClickWindow: return 0x08;
|
||||||
case PacketOutgoingType.CloseWindow: return 0x09;
|
case PacketOutgoingType.CloseWindow: return 0x09;
|
||||||
case PacketOutgoingType.EntityAction: return 0x0B;
|
case PacketOutgoingType.EntityAction: return 0x19;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else // MC 1.14 to 1.15
|
else // MC 1.14 to 1.15
|
||||||
|
|
@ -417,7 +417,7 @@ namespace MinecraftClient.Protocol.Handlers
|
||||||
case PacketOutgoingType.PlayerBlockPlacement: return 0x2C;
|
case PacketOutgoingType.PlayerBlockPlacement: return 0x2C;
|
||||||
case PacketOutgoingType.ClickWindow: return 0x09;
|
case PacketOutgoingType.ClickWindow: return 0x09;
|
||||||
case PacketOutgoingType.CloseWindow: return 0x0A;
|
case PacketOutgoingType.CloseWindow: return 0x0A;
|
||||||
case PacketOutgoingType.EntityAction: return 0x0B;
|
case PacketOutgoingType.EntityAction: return 0x19;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue