mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
replace dirt and gravel too for even less clumps
This commit is contained in:
parent
889e72c50d
commit
daa95e3688
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ local function makegeode(pos,def,pr)
|
||||||
minetest.emerge_area(p1, p2, function(blockpos, action, calls_remaining, param)
|
minetest.emerge_area(p1, p2, function(blockpos, action, calls_remaining, param)
|
||||||
if calls_remaining ~= 0 then return end
|
if calls_remaining ~= 0 then return end
|
||||||
local calcite = {}
|
local calcite = {}
|
||||||
local nn = minetest.find_nodes_in_area(p1,p2,{"group:material_stone"})
|
local nn = minetest.find_nodes_in_area(p1,p2,{"group:material_stone","group:dirt","mcl_core:gravel"})
|
||||||
table.sort(nn,function(a, b)
|
table.sort(nn,function(a, b)
|
||||||
return vector.distance(pos, a) < vector.distance(pos, b)
|
return vector.distance(pos, a) < vector.distance(pos, b)
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in a new issue