mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-21 18:15:54 +01:00
a6df4c8cdc
First, if the light data is not marked as correct, we should not be parsing it in the first place. This will eliminate errors from parsing possibly different versioned light data. Secondly, if parsing the light data throws an exception (from the SWMRNibbleArray constructor), then we can simply mark the returned chunk as having incorrect light data - rather than propagating the exception and causing the chunk to be re-generated. |
||
---|---|---|
.. | ||
api | ||
removed/1.20.5 | ||
server | ||
unapplied/server |