mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fixed bug where "ChunkFullyLoaded" was not updated below 1.17
This commit is contained in:
parent
b0b45a74a0
commit
f0af851df8
2 changed files with 2 additions and 1 deletions
|
|
@ -2037,7 +2037,7 @@ namespace MinecraftClient.Protocol.Handlers
|
||||||
packet.AddRange(dataTypes.GetVarInt(mode)); // Mode
|
packet.AddRange(dataTypes.GetVarInt(mode)); // Mode
|
||||||
else packet.Add(mode);
|
else packet.Add(mode);
|
||||||
|
|
||||||
// 1.17+
|
// 1.17+ Array of changed slots
|
||||||
if (protocolversion >= MC117Version)
|
if (protocolversion >= MC117Version)
|
||||||
{
|
{
|
||||||
packet.AddRange(dataTypes.GetVarInt(changedSlots.Count)); // Length of the array
|
packet.AddRange(dataTypes.GetVarInt(changedSlots.Count)); // Length of the array
|
||||||
|
|
|
||||||
|
|
@ -491,6 +491,7 @@ namespace MinecraftClient.Protocol.Handlers
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
handler.GetWorld()[chunkX, chunkZ].FullyLoaded = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue