1
0
mirror of https://github.com/mt-mods/biome_lib.git synced 2025-07-03 08:40:38 +02:00

Replacing spaces with tabs

This commit is contained in:
Jordan Leppert
2021-12-04 16:57:36 +00:00
parent 24b56c8763
commit 281c5b151b

View File

@ -323,13 +323,13 @@ function biome_lib.populate_surfaces(b, nodes_or_function_or_model, snodes, chec
p_top = onside.newpos
fdir = onside.facedir
else
will_place = false
will_place = false
end
elseif biome.spawn_on_bottom then
if minetest.get_node({x=pos.x, y=pos.y-1, z=pos.z}).name == "air" then
p_top.y = pos.y - 1
else
will_place = false
will_place = false
end
elseif biome.spawn_replace_node then
p_top.y = pos.y