From bbb72e4640d86dbe92467e37a62a997d0f91f4d1 Mon Sep 17 00:00:00 2001 From: granny Date: Sun, 3 Nov 2024 22:11:50 -0800 Subject: [PATCH] iterate down from max build height for nether roof renderer, closes #64 --- .../java/net/pl3x/map/core/renderer/NetherRoofRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/net/pl3x/map/core/renderer/NetherRoofRenderer.java b/core/src/main/java/net/pl3x/map/core/renderer/NetherRoofRenderer.java index 601049ba1..012849350 100644 --- a/core/src/main/java/net/pl3x/map/core/renderer/NetherRoofRenderer.java +++ b/core/src/main/java/net/pl3x/map/core/renderer/NetherRoofRenderer.java @@ -71,7 +71,7 @@ public void scanData(@NotNull Region region) { continue; } - int blockY = chunk.noHeightmap() ? getWorld().getMaxBuildHeight() : chunk.getWorldSurfaceY(blockX, blockZ) + 1; + int blockY = getWorld().getMaxBuildHeight() + 1; int fluidY = 0; BlockState blockstate; BlockState fluidstate = null;