avoid pathfind to an unloaded chunk | remove debug logs

This commit is contained in:
BruceChen 2022-07-23 23:10:06 +08:00
parent f9bb74a8bd
commit af574b654e
3 changed files with 4 additions and 3 deletions

View file

@ -37,8 +37,6 @@ namespace MinecraftClient.Protocol.Handlers
/// <param name="cache">Cache for reading chunk data</param>
public void ProcessChunkColumnData(int chunkX, int chunkZ, ulong[] chunkMasks, int currentDimension, Queue<byte> cache)
{
byte[] mirror = new byte[cache.Count];
cache.CopyTo(mirror, 0);
int chunkColumnSize = chunkMasks.Length * 64;
if (protocolversion >= Protocol18Handler.MC117Version)
{