Fix deprecation warnings (#44)

Co-authored-by: sys4 <bricassa@sys4.fr>
This commit is contained in:
sys4-fr
2021-04-18 16:30:05 +02:00
committed by GitHub
parent fb3c358f74
commit fb6b666895
4 changed files with 7 additions and 7 deletions

View File

@ -136,7 +136,7 @@ mapgen.add_basalt_columns = function(data, area, minp, maxp)
if basaltNoise > 0 then
-- a basalt column is here
local abs_sealevel_cave_noise = math_abs(cavePerlin:get3d({x = x, y = nearest_sea_level, z = z}))
local abs_sealevel_cave_noise = math_abs(cavePerlin:get_3d({x = x, y = nearest_sea_level, z = z}))
-- Add Some quick deterministic noise to the column heights
-- This is probably not good noise, but it doesn't have to be.