From df5acb6c53c8b346d9b6cdc13aa45f965c066717 Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Sat, 17 Dec 2022 15:12:23 +0100 Subject: [PATCH] Improve inhabited time check --- .../bluemap/common/rendermanager/WorldRegionRenderTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/rendermanager/WorldRegionRenderTask.java b/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/rendermanager/WorldRegionRenderTask.java index 553fedb4..d6d154b6 100644 --- a/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/rendermanager/WorldRegionRenderTask.java +++ b/BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/rendermanager/WorldRegionRenderTask.java @@ -164,7 +164,7 @@ private boolean tileRenderPreconditions(Vector2i tile) { } } - if (minInhabRadius > 0) { + if (minInhabRadius > 0 && !isInhabited) { for (int x = minChunk.getX() - minInhabRadius; x <= maxChunk.getX() + minInhabRadius; x++) { for (int z = minChunk.getY() - minInhabRadius; z <= maxChunk.getY() + minInhabRadius; z++) { Chunk chunk = map.getWorld().getChunk(x, z);