Fix inaccurate warning about spawn platform

This commit is contained in:
cora 2022-09-11 00:03:59 +02:00
parent 969b6a6138
commit f72626bf40

View file

@ -8,6 +8,7 @@ mcl_structures.register_structure("end_spawn_obsidian_platform",{
place_func = function(pos,def,pr) place_func = function(pos,def,pr)
local nn = minetest.find_nodes_in_area(vector.offset(pos,-2,0,-2),vector.offset(pos,2,0,2),{"air","mcl_end:end_stone"}) local nn = minetest.find_nodes_in_area(vector.offset(pos,-2,0,-2),vector.offset(pos,2,0,2),{"air","mcl_end:end_stone"})
minetest.bulk_set_node(nn,{name="mcl_core:obsidian"}) minetest.bulk_set_node(nn,{name="mcl_core:obsidian"})
return true
end, end,
}) })