I've had this lighting bug for quite sometime now. Can't figure out how to resolve it

Solution 1:

This is allbright and it's a feature in optifine, some resource packs, and a few mods.