1
0
mirror of https://github.com/mt-mods/biome_lib.git synced 2024-11-16 07:30:20 +01:00

fix deprecated function call

This commit is contained in:
Vanessa Dannenberg 2020-04-15 16:59:40 -04:00
parent a96f015ce9
commit 5a910875af

View File

@ -85,7 +85,7 @@ biome_lib.perlin_humidity = PerlinNoise(humidity_seeddiff, humidity_octaves, hum
-- Local functions -- Local functions
local function get_biome_data(pos, perlin_fertile) local function get_biome_data(pos, perlin_fertile)
local fertility = perlin_fertile:get2d({x=pos.x, y=pos.z}) local fertility = perlin_fertile:get_2d({x=pos.x, y=pos.z})
if type(minetest.get_biome_data) == "function" then if type(minetest.get_biome_data) == "function" then
local data = minetest.get_biome_data(pos) local data = minetest.get_biome_data(pos)