mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-29 13:04:59 +00:00
Preliminary 1.21 Support
This commit is contained in:
parent
7bd213a154
commit
f83e7c5707
18 changed files with 588 additions and 55 deletions
|
|
@ -10,6 +10,12 @@ namespace MinecraftClient.Protocol.Handlers.packet.s2c
|
|||
|
||||
public static void Read(DataTypes dataTypes, Queue<byte> packetData, int protocolVersion)
|
||||
{
|
||||
// TODO: Fix this
|
||||
// It crashes in 1.20.6+ , could not figure out why
|
||||
// it's hard to debug, so I'll just disable it for now
|
||||
if(protocolVersion > Protocol18Handler.MC_1_20_4_Version)
|
||||
return;
|
||||
|
||||
int count = dataTypes.ReadNextVarInt(packetData);
|
||||
Nodes = new CommandNode[count];
|
||||
for (int i = 0; i < count; ++i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue