Fixed counting issue

This commit is contained in:
mcrcortex
2024-08-08 20:14:06 +10:00
parent 3ba1c76414
commit c8bcfc3b6d

View File

@@ -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 {