From 89ab761fa5408b3f508750ec6a2888c6dddbf5d2 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 22 Nov 2017 02:08:39 +0100 Subject: [PATCH] Fix day/night ratio override in dimensions --- mods/PLAYER/mcl_playerplus/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/PLAYER/mcl_playerplus/init.lua b/mods/PLAYER/mcl_playerplus/init.lua index 7a4bafd1f2..5944b667c9 100644 --- a/mods/PLAYER/mcl_playerplus/init.lua +++ b/mods/PLAYER/mcl_playerplus/init.lua @@ -165,10 +165,10 @@ minetest.register_globalstep(function(dtime) elseif dim == "end" then local t = "mcl_playerplus_end_sky.png" player:set_sky("#000000", "skybox", {t,t,t,t,t,t}, false) - player:set_day_night_override_ratio(nil) + player:override_day_night_ratio(0.5) elseif dim == "nether" then player:set_sky("#300808", "plain", nil, false) - player:set_day_night_override_ratio(nil) + player:override_day_night_ratio(nil) else mcl_weather.skycolor.update_sky_color({player}) end