mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-10 02:01:07 +01:00
Add line break
This commit is contained in:
parent
18266137b2
commit
37ff699a23
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue