WorldTools icon indicating copy to clipboard operation
WorldTools copied to clipboard

fix: omit isLightOn so MC recomputes lighting on world load

Open terbin opened this issue 6 months ago • 0 comments

Captured chunks were emitting isLightOn = true based on the client's view, but LightData packets mark sections as uninitialized via per-chunk bitsets, so a capture typically holds light data for only some sections. On load MC trusts the flag and skips recomputation, leaving dark patches in the captured world.

Drop the flag entirely. MC's lightmap pass on world load produces correct results from the saved sections.

terbin avatar May 19 '26 01:05 terbin