Skip to content

Commit

Permalink
fix(Minimap): missing max height for calculation (#4936)
Browse files Browse the repository at this point in the history
  • Loading branch information
MukjepScarlet authored Dec 17, 2024
1 parent 491543e commit 29744ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class MinimapHeightmapManager {
// The changed block is the world surface. If it is not a surface block anymore,
// we need to find a new surface block under it
if (!isSurface(pos, newState)) {
calculateHeight(pos.x, pos.z)
calculateHeight(pos.x, pos.z, maxY = currentHeight)
} else {
null
}
Expand Down

0 comments on commit 29744ae

Please sign in to comment.