forked from Kimapr/nodecore-skyblock
fix tree growth
This commit is contained in:
parent
97a40cd8eb
commit
88a7dbdaa4
|
@ -118,8 +118,7 @@ local function island(pos,r,call)
|
||||||
local n = math.random(1,#grasses)
|
local n = math.random(1,#grasses)
|
||||||
local v = table.remove(grasses,n)
|
local v = table.remove(grasses,n)
|
||||||
minetest.set_node(v,{name=tree})
|
minetest.set_node(v,{name=tree})
|
||||||
local meta = minetest.get_meta(v)
|
nodecore.soaking_abm_push(v, "eggcorn",100000)
|
||||||
meta:set_float("growth",5000)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if call then
|
if call then
|
||||||
|
|
Loading…
Reference in New Issue