mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-07-04 15:25:27 +02:00
Add line break
This commit is contained in:
parent
d7bed6073b
commit
a01e4c7770
@ -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 New Issue
Block a user