From: Maciej Kasatkin Date: Sun, 7 Oct 2012 19:02:20 +0000 (+0200) Subject: quick crash fix X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=8ccf7faed16b76efff2ab88cf22a0a13869bb31b;p=zefram%2Fminetest%2Ftechnic.git quick crash fix --- diff --git a/rubber.lua b/rubber.lua index d59190e..0d1f9b9 100644 --- a/rubber.lua +++ b/rubber.lua @@ -94,7 +94,7 @@ minetest.register_craft({ burntime = 10 }) -function technic:generate_tree(pos, trunk, leaves, underground, replacements) +function generate_tree(pos, trunk, leaves, underground, replacements) pos.y = pos.y-1 local nodename = minetest.env:get_node(pos).name local ret = true