Make flat layers configurable

This commit is contained in:
Wuzzy 2017-03-21 21:21:07 +01:00
parent 19e2d5f09e
commit c25d3e574a
5 changed files with 91 additions and 16 deletions

View file

@ -121,7 +121,7 @@ minetest.register_globalstep(function(dtime)
end
-- Apply black sky in the Void and deal Void damage
if pos.y < mcl_vars.mg_bedrock_overworld_max then
if pos.y < mcl_vars.mg_overworld_min then
-- Player reached the void, set black sky box
player:set_sky("#000000", "plain")
-- FIXME: Sky handling in MCL2 is held together with lots of duct tape.