mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix bugs in gravity handle
This commit is contained in:
parent
86dfd60d07
commit
357820e1c2
7 changed files with 54 additions and 7 deletions
|
|
@ -147,8 +147,8 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
public void ProcessChunkColumnData(int chunkX, int chunkZ, ulong[] verticalStripBitmask, Queue<byte> cache)
|
||||
{
|
||||
var world = handler.GetWorld();
|
||||
while (world.GetDimension() == null)
|
||||
; // Dimension parsing unfinished
|
||||
if (world.GetDimension() == null)
|
||||
return;
|
||||
|
||||
int chunkColumnSize = (world.GetDimension().height + 15) / 16;
|
||||
|
||||
|
|
@ -207,6 +207,7 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
// Don't worry about skipping remaining data since there is no useful data afterwards in 1.9
|
||||
// (plus, it would require parsing the tile entity lists' NBT)
|
||||
}
|
||||
handler.GetWorld()[chunkX, chunkZ].FullyLoaded = true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue