Add line break

This commit is contained in:
teknomunk 2024-06-19 08:33:57 -05:00
parent 18266137b2
commit 37ff699a23

View file

@ -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