Replace deprecated function calls
This commit is contained in:
parent
0df2753a68
commit
255031fc91
12 changed files with 51 additions and 51 deletions
|
@ -1,7 +1,7 @@
|
|||
minetest.set_gen_notify({dungeon = true, temple = true})
|
||||
|
||||
local function noise3d_integer(noise, pos)
|
||||
return math.abs(math.floor(noise:get3d(pos) * 0x7fffffff))
|
||||
return math.abs(math.floor(noise:get_3d(pos) * 0x7fffffff))
|
||||
end
|
||||
|
||||
local function random_sample(rand, list, count)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue