From 34e332ac317b80ab4ae3aa8522e84b1177fa5673 Mon Sep 17 00:00:00 2001 From: Dmitry Smirnov Date: Mon, 15 Oct 2012 00:16:11 +0600 Subject: [PATCH] Repair Mapple --- mods/trees/init.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mods/trees/init.lua b/mods/trees/init.lua index 86c4eb1..d59a4b9 100644 --- a/mods/trees/init.lua +++ b/mods/trees/init.lua @@ -8,16 +8,16 @@ minetest.register_abm({ minetest.env:add_node(pos, {name="trees:ash_trunk"}) return end - if minetest.env:get_node({x=pos.x,y=pos.y+i,z=pos.z}).name == "trees:ash_trunk" then - minetest.env:add_node(pos, {name="trees:ash_trunk"}) + if minetest.env:get_node({x=pos.x,y=pos.y+i,z=pos.z}).name == "trees:mapple_trunk" then + minetest.env:add_node(pos, {name="trees:mapple_trunk"}) return end if minetest.env:get_node({x=pos.x,y=pos.y-i,z=pos.z}).name == "trees:ash_trunk" then minetest.env:add_node(pos, {name="trees:ash_trunk"}) return end - if minetest.env:get_node({x=pos.x,y=pos.y-i,z=pos.z}).name == "trees:ash_trunk" then - minetest.env:add_node(pos, {name="trees:ash_trunk"}) + if minetest.env:get_node({x=pos.x,y=pos.y-i,z=pos.z}).name == "trees:mapple_trunk" then + minetest.env:add_node(pos, {name="trees:mapple_trunk"}) return end end