WorldTools
WorldTools copied to clipboard
fix: omit isLightOn so MC recomputes lighting on world load
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.