forked from mtcontrib/watershed
Voxelmanip lighting bugfix
This commit is contained in:
parent
5470dd045d
commit
241379f792
4
init.lua
4
init.lua
|
@ -604,8 +604,8 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
end
|
||||
-- voxelmanip stuff
|
||||
vm:set_data(data)
|
||||
vm:set_lighting({day=14, night=14})
|
||||
--vm:calc_lighting()
|
||||
vm:set_lighting({day=0, night=0})
|
||||
vm:calc_lighting()
|
||||
vm:write_to_map(data)
|
||||
|
||||
local chugent = math.ceil((os.clock() - t1) * 1000) -- chunk generation time
|
||||
|
|
Loading…
Reference in New Issue
Block a user