mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-02 15:53:46 +01:00
Tweak day/night ratio issues
parent
dd17e5ca9d
commit
3df64d9426
@ -165,8 +165,10 @@ minetest.register_globalstep(function(dtime)
|
|||||||
elseif dim == "end" then
|
elseif dim == "end" then
|
||||||
local t = "mcl_playerplus_end_sky.png"
|
local t = "mcl_playerplus_end_sky.png"
|
||||||
player:set_sky("#000000", "skybox", {t,t,t,t,t,t}, false)
|
player:set_sky("#000000", "skybox", {t,t,t,t,t,t}, false)
|
||||||
|
player:set_day_night_override_ratio(nil)
|
||||||
elseif dim == "nether" then
|
elseif dim == "nether" then
|
||||||
player:set_sky("#300808", "plain", nil, false)
|
player:set_sky("#300808", "plain", nil, false)
|
||||||
|
player:set_day_night_override_ratio(nil)
|
||||||
else
|
else
|
||||||
mcl_weather.skycolor.update_sky_color({player})
|
mcl_weather.skycolor.update_sky_color({player})
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user