Skip to content

Commit 877892d

Browse files
committed
fix saving
1 parent e866de4 commit 877892d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/hollowcube/polar/PolarLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ private void updateChunkData(@NotNull Short2ObjectMap<String> blockCache, @NotNu
251251
for (int x = 0; x < Chunk.CHUNK_SIZE_X; x++) {
252252
int y = sectionLocalY + sectionY * Chunk.CHUNK_SECTION_SIZE;
253253
var block = chunk.getBlock(x, y, z, Block.Getter.Condition.CACHED);
254-
if (block == null) return;
254+
if (block == null) continue;
255255

256256
var handlerId = block.handler() == null ? null : block.handler().getNamespaceId().asString();
257257
if (handlerId != null || block.hasNbt()) {

0 commit comments

Comments
 (0)