This is a simple mod that adds one procedure to the game.
This mod makes it so that whenever a "minecraft:lightning_bolt" spawns, the game checks for any Light blocks nearby and deletes them. It only deletes "minecraft:light" blocks.
The purpose of this mod is to patch a strange bug possibly caused the the awesome mod Storms of the Wild where Light blocks would manifest wherever Lightning spawned.
This mod does not fix the root cause of the issue, whatever that may be, instead it treats the symptom. Still works, though.
I have no clue if I programmed it well, but it gets the job done so I'm not complaining!
This mod was originally made for the Darkhour modpack, but you are free to use it in your own if you have the same issue. Or if you just want to. Idk I can't tell you what to do.
I do not earn any money from this mod.
This mod was made with MCreator.
This mod will be introduced in Darkhour_v1.2.0_beta at the same time as Storms of the Wild.
Destroy Light Blocks from Lightning is licensed under GNU Lesser General Public license version 3 (LGPLv3), as are all of my projects.