Skip to content

Commit

Permalink
fix: use dimension min height in AllayUnsafeChunk's constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
smartcmd committed Dec 3, 2024
1 parent b71d4d5 commit 6cb44b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private AllayUnsafeChunk(int chunkX, int chunkZ, DimensionInfo dimensionInfo) {
chunkZ,
dimensionInfo,
new ChunkSection[dimensionInfo.chunkSectionCount()],
new HeightMap(),
new HeightMap((short) dimensionInfo.minHeight()),
new Long2ObjectOpenHashMap<>(),
new Int2ObjectNonBlockingMap<>(),
ChunkState.EMPTY,
Expand Down

0 comments on commit 6cb44b2

Please sign in to comment.