From 6ffa90f064cb38f85bab5b45a592ff136eab8825 Mon Sep 17 00:00:00 2001 From: mcrcortex <18544518+MCRcortex@users.noreply.github.com> Date: Sat, 25 Oct 2025 17:47:09 +1000 Subject: [PATCH] mark the world as active --- .../cortex/voxy/common/world/service/VoxelIngestService.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/me/cortex/voxy/common/world/service/VoxelIngestService.java b/src/main/java/me/cortex/voxy/common/world/service/VoxelIngestService.java index 8173695d..36fd2436 100644 --- a/src/main/java/me/cortex/voxy/common/world/service/VoxelIngestService.java +++ b/src/main/java/me/cortex/voxy/common/world/service/VoxelIngestService.java @@ -32,6 +32,8 @@ public class VoxelIngestService { private void processJob() { var task = this.ingestQueue.pop(); + task.world.markActive(); + var section = task.section; var vs = SECTION_CACHE.get().setPosition(task.cx, task.cy, task.cz); @@ -92,6 +94,9 @@ public class VoxelIngestService { if (!engine.isLive()) { throw new IllegalStateException("Tried inserting chunk into WorldEngine that was not alive"); } + + engine.markActive(); + var lightingProvider = chunk.getWorld().getLightingProvider(); boolean gotLighting = false;