From c8bcfc3b6d9855bfd56ff9b4d9627c991db72f81 Mon Sep 17 00:00:00 2001 From: mcrcortex <18544518+MCRcortex@users.noreply.github.com> Date: Thu, 8 Aug 2024 20:14:06 +1000 Subject: [PATCH] Fixed counting issue --- .../java/me/cortex/voxy/client/importers/WorldImporter.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/me/cortex/voxy/client/importers/WorldImporter.java b/src/main/java/me/cortex/voxy/client/importers/WorldImporter.java index 305b4a21..a67ee8ad 100644 --- a/src/main/java/me/cortex/voxy/client/importers/WorldImporter.java +++ b/src/main/java/me/cortex/voxy/client/importers/WorldImporter.java @@ -258,10 +258,13 @@ public class WorldImporter { private void importChunkNBT(NbtCompound chunk) { if (!chunk.contains("Status")) { + //Its not real so decrement the chunk + this.totalChunks.decrementAndGet(); return; } //Dont process non full chunk sections if (ChunkStatus.byId(chunk.getString("Status")) != ChunkStatus.FULL) { + this.totalChunks.decrementAndGet(); return; } try {