a hotfix to the client disconnect on version 1.20.4, and a warning to not use that version. (see below)
fixes the lightning errors on 1.21
As I've investigated, the way that the 1.20.4 client intercepts the packets can receive some unintended server code and method calls that aren't present in the client itself leading to random and frequent disconnects.
Added 1.21 support and fixed the known issue of some areas of the extended view being darken.
Again, compiled with paper-nms (mojang mappings) it may or may not work on spigot.
Added support to paper builds of 1.20.6, spigot not tested yet.
**Known Issue**: The extended chunk light will be the same as when the chunk was first generated until updated, for example, if the chunk were generated at night, it'll be rendered, but darken.
Please do not post your bugs in the review section, I'm not receiving anything to maintain this plugin, so add your issues to the GitHub issues section.
Fixed the bug where the plugin sends all the chunks at once, even the light updates. (that was only on unoptimized clients). Now, the chunks may take a while (actually the normal game tick rate) to load without crashing.