Fix warnings

master
Emojigit 2021-04-24 17:38:43 +08:00
parent 44b4b9a4f8
commit 90dbbaf979
No known key found for this signature in database
GPG Key ID: 2443E5F619026B90
3 changed files with 11 additions and 8 deletions

View File

@ -1 +1,2 @@
default
stairs

View File

@ -195,14 +195,14 @@ minetest.register_on_generated(function(minp, maxp, seed)
nobj_pathd = nobj_pathd or minetest.get_perlin_map(np_pathd, chulens)
nobj_column = nobj_column or minetest.get_perlin_map(np_column, chulens)
local nvals_base = nobj_base :get2dMap_flat(minpos, nbuf_base)
local nvals_alt = nobj_alt :get2dMap_flat(minpos, nbuf_alt)
local nvals_select = nobj_select:get2dMap_flat(minpos, nbuf_select)
local nvals_patha = nobj_patha :get2dMap_flat(minpos, nbuf_patha)
local nvals_pathb = nobj_pathb :get2dMap_flat(minpos, nbuf_pathb)
local nvals_pathc = nobj_pathc :get2dMap_flat(minpos, nbuf_pathc)
local nvals_pathd = nobj_pathd :get2dMap_flat(minpos, nbuf_pathd)
local nvals_column = nobj_column:get2dMap_flat(minpos, nbuf_column)
local nvals_base = nobj_base :get_2d_map_flat(minpos, nbuf_base)
local nvals_alt = nobj_alt :get_2d_map_flat(minpos, nbuf_alt)
local nvals_select = nobj_select:get_2d_map_flat(minpos, nbuf_select)
local nvals_patha = nobj_patha :get_2d_map_flat(minpos, nbuf_patha)
local nvals_pathb = nobj_pathb :get_2d_map_flat(minpos, nbuf_pathb)
local nvals_pathc = nobj_pathc :get_2d_map_flat(minpos, nbuf_pathc)
local nvals_pathd = nobj_pathd :get_2d_map_flat(minpos, nbuf_pathd)
local nvals_column = nobj_column:get_2d_map_flat(minpos, nbuf_column)
local vm, emin, emax = minetest.get_mapgen_object("voxelmanip")
local area = VoxelArea:new({MinEdge = emin, MaxEdge = emax})

2
mod.conf Normal file
View File

@ -0,0 +1,2 @@
name = pathv7
depends = default, stairs