Dynamic lighting DP

So, I’m trying to use this with a mod called primal winter, but the datapack extinguishes torch dynamic light when it is raining. Snow and rain are the same thing in Minecraft, so with primal winter constantly snowing, the datapack is pretty much useless. Can someone try and remove the water extinguishing feature from the datapack?
Continue to help post