From ef174a7deeb362e8519b25b09c7cf45730468d24 Mon Sep 17 00:00:00 2001 From: Maciej Kasatkin Date: Sun, 7 Oct 2012 21:32:18 +0200 Subject: [PATCH] fix again --- rubber.lua | 4 ++-- 1 file 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) -- 2.30.2