mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2024-11-14 14:20:40 +01:00
syntax errors
This commit is contained in:
parent
1d0543b435
commit
b72f1dd5eb
|
@ -289,7 +289,7 @@ function plantslib:generate_block_with_air_checking(minp, maxp, blockseed)
|
||||||
minetest.registered_nodes[node_or_function_or_model] then
|
minetest.registered_nodes[node_or_function_or_model] then
|
||||||
local fdir = nil
|
local fdir = nil
|
||||||
if biome.random_facedir then
|
if biome.random_facedir then
|
||||||
fdir = math.random(biome.random_facedir.1, biome.random_facedir.2)
|
fdir = math.random(biome.random_facedir[1], biome.random_facedir[2])
|
||||||
end
|
end
|
||||||
minetest.set_node(p_top, { name = node_or_function_or_model, param2 = fdir })
|
minetest.set_node(p_top, { name = node_or_function_or_model, param2 = fdir })
|
||||||
spawned = true
|
spawned = true
|
||||||
|
@ -409,7 +409,7 @@ function plantslib:generate_block_no_air_check(minp, maxp, blockseed)
|
||||||
minetest.registered_nodes[node_or_function_or_model] then
|
minetest.registered_nodes[node_or_function_or_model] then
|
||||||
local fdir = nil
|
local fdir = nil
|
||||||
if biome.random_facedir then
|
if biome.random_facedir then
|
||||||
fdir = math.random(biome.random_facedir.1, biome.random_facedir.2)
|
fdir = math.random(biome.random_facedir[1], biome.random_facedir[2])
|
||||||
end
|
end
|
||||||
minetest.set_node(p_top, { name = node_or_function_or_model, param2 = fdir })
|
minetest.set_node(p_top, { name = node_or_function_or_model, param2 = fdir })
|
||||||
spawned = true
|
spawned = true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user