Skip to content

Commit

Permalink
fix: leveldb heightmap (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
KoshakMineDEV authored Dec 17, 2024
1 parent 2226275 commit d29adde
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ public LevelDBChunk(@Nullable LevelProvider provider, int chunkX, int chunkZ, @N
this.heightMap[i] = (byte) heightmap[i];
}
} else {
Arrays.fill(this.heightMap, (byte)-1);
this.recalculateHeightMap();
Arrays.fill(this.heightMap, (byte) 255);
}

if (biomes2d != null && biomes2d.length == SUB_CHUNK_2D_SIZE) {
Expand Down

0 comments on commit d29adde

Please sign in to comment.