diff --git a/src/main/kotlin/net/ccbluex/liquidbounce/integration/theme/component/types/minimap/MinimapHeightmapManager.kt b/src/main/kotlin/net/ccbluex/liquidbounce/integration/theme/component/types/minimap/MinimapHeightmapManager.kt index 6f7101fc9ed..bd0fccbc148 100644 --- a/src/main/kotlin/net/ccbluex/liquidbounce/integration/theme/component/types/minimap/MinimapHeightmapManager.kt +++ b/src/main/kotlin/net/ccbluex/liquidbounce/integration/theme/component/types/minimap/MinimapHeightmapManager.kt @@ -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 }