Remove clouds when in void

This commit is contained in:
Wuzzy 2017-06-11 02:34:34 +02:00
parent ea841eecfb
commit 8773c4b52f
3 changed files with 5 additions and 5 deletions

View file

@ -178,7 +178,7 @@ minetest.register_globalstep(function(dtime)
-- Apply black sky in the Void and deal Void damage
if pos.y < mcl_vars.mg_bedrock_overworld_max then
-- Player reached the void, set black sky box
player:set_sky("#000000", "plain")
player:set_sky("#000000", "plain", nil, false)
-- FIXME: Sky handling in MCL2 is held together with lots of duct tape.
-- This only works beause weather_pack currently does not touch the sky for players below the height used for this check.
-- There should be a real skybox API.