mirror of
https://github.com/mt-mods/biome_lib.git
synced 2025-07-04 01:00:39 +02:00
Replacing spaces with tabs
This commit is contained in:
4
api.lua
4
api.lua
@ -323,13 +323,13 @@ function biome_lib.populate_surfaces(b, nodes_or_function_or_model, snodes, chec
|
|||||||
p_top = onside.newpos
|
p_top = onside.newpos
|
||||||
fdir = onside.facedir
|
fdir = onside.facedir
|
||||||
else
|
else
|
||||||
will_place = false
|
will_place = false
|
||||||
end
|
end
|
||||||
elseif biome.spawn_on_bottom then
|
elseif biome.spawn_on_bottom then
|
||||||
if minetest.get_node({x=pos.x, y=pos.y-1, z=pos.z}).name == "air" then
|
if minetest.get_node({x=pos.x, y=pos.y-1, z=pos.z}).name == "air" then
|
||||||
p_top.y = pos.y - 1
|
p_top.y = pos.y - 1
|
||||||
else
|
else
|
||||||
will_place = false
|
will_place = false
|
||||||
end
|
end
|
||||||
elseif biome.spawn_replace_node then
|
elseif biome.spawn_replace_node then
|
||||||
p_top.y = pos.y
|
p_top.y = pos.y
|
||||||
|
Reference in New Issue
Block a user