Fix weather sky color issues
But also disable void blackness
This commit is contained in:
parent
6d9eeb24ec
commit
edde01d582
2 changed files with 8 additions and 7 deletions
|
@ -122,12 +122,15 @@ minetest.register_globalstep(function(dtime)
|
|||
end
|
||||
|
||||
-- Apply black sky in the Void and deal Void damage
|
||||
--[[ DISABLED because of conflicts with weater_pack.
|
||||
TODO: The sky color handling needs a major rework.
|
||||
if pos.y < mcl_vars.bedrock_overworld_max then
|
||||
-- Player reached the void, set black sky box
|
||||
player:set_sky("#000000", "plain")
|
||||
else
|
||||
player:set_sky(nil, "regular")
|
||||
end
|
||||
]]
|
||||
if pos.y < mcl_vars.bedrock_overworld_min - 65 then
|
||||
-- Player is deep into the void, deal void damage
|
||||
if player:get_hp() > 0 then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue