summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Kasatkin <mk@realbadangel.pl>2012-10-07 21:32:18 +0200
committerMaciej Kasatkin <mk@realbadangel.pl>2012-10-07 21:32:18 +0200
commitef174a7deeb362e8519b25b09c7cf45730468d24 (patch)
tree69ed6d2b96344fd1e7c6a35283d78674c6f7b739
parent8ccf7faed16b76efff2ab88cf22a0a13869bb31b (diff)
fix again
-rw-r--r--rubber.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/rubber.lua b/rubber.lua
index 0d1f9b9..311f3af 100644
--- a/rubber.lua
+++ b/rubber.lua
@@ -71,7 +71,7 @@ minetest.register_abm({
interval = 60,
chance = 20,
action = function(pos, node)
- technic:generate_tree(pos, "technic:rubber_tree_full", "technic:rubber_leaves", {"default:dirt", "default:dirt_with_grass"})
+ generate_tree(pos, "technic:rubber_tree_full", "technic:rubber_leaves", {"default:dirt", "default:dirt_with_grass"})
end
})
@@ -82,7 +82,7 @@ minetest.register_on_generated(function(minp, maxp, blockseed)
local tmp = {x=(maxp.x-minp.x)/2+minp.x, y=(maxp.y-minp.y)/2+minp.y, z=(maxp.z-minp.z)/2+minp.z}
local pos = minetest.env:find_node_near(tmp, maxp.x-minp.x, {"default:dirt_with_grass"})
if pos ~= nil then
- technic:generate_tree({x=pos.x, y=pos.y+1, z=pos.z}, "technic:rubber_tree_full", "technic:rubber_leaves", {"default:dirt", "default:dirt_with_grass"})
+ generate_tree({x=pos.x, y=pos.y+1, z=pos.z}, "technic:rubber_tree_full", "technic:rubber_leaves", {"default:dirt", "default:dirt_with_grass"})
end
end)