From 37ff699a238cd1c7053428247144516323508a6e Mon Sep 17 00:00:00 2001 From: teknomunk Date: Wed, 19 Jun 2024 08:33:57 -0500 Subject: [PATCH] Add line break --- mods/ENVIRONMENT/mcl_weather/skycolor/effects.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/ENVIRONMENT/mcl_weather/skycolor/effects.lua b/mods/ENVIRONMENT/mcl_weather/skycolor/effects.lua index 9e7680ba1..c3dd32fc7 100644 --- a/mods/ENVIRONMENT/mcl_weather/skycolor/effects.lua +++ b/mods/ENVIRONMENT/mcl_weather/skycolor/effects.lua @@ -21,6 +21,7 @@ function effects_handlers.darkness(player, meta, effect, sky_data) sky_data.day_night_ratio = 0 end end + function effects_handlers.night_vision(player, meta, effect, sky_data) -- Apply night vision only for dark sky if not (minetest.get_timeofday() > 0.8 or minetest.get_timeofday() < 0.2 or mcl_weather.state ~= "none") then return end