Fix Rubber Sapling not growing in MCL

This commit is contained in:
2024-03-06 19:21:36 +01:00
parent 8a29704f5f
commit 62a3e2aa40
3 changed files with 67 additions and 30 deletions

View File

@@ -21,6 +21,6 @@ minetest.register_on_generated(function(minp,maxp,seed)
local center=vector.new((maxp.x-minp.x)/2+ minp.x,(maxp.y-minp.y)/2+minp.y,(maxp.z-minp.z)/2+minp.z)
local pos=minetest.find_node_near(center,maxp.x-minp.x,{industrialtest.elementKeys.grassBlock})
if pos then
industrialtest.makeRubberTree(pos)
industrialtest.internal.makeRubberTree(pos)
end
end)