summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2014-07-30 14:53:27 -0400
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2014-07-30 14:53:27 -0400
commitbb1b668f8f1ad71aac4c2a44a70a2b42a89e1a03 (patch)
tree1ee48a3dd6917a7f8fb66f648fa62705ad156543 /init.lua
parent8581d3654eb9fc7162e5824f3d9de3d196b14139 (diff)
phase out the old clone_node call. use minetest.override_item() instead.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua11
1 files changed, 0 insertions, 11 deletions
diff --git a/init.lua b/init.lua
index 17a2a2c..2cb048b 100644
--- a/init.lua
+++ b/init.lua
@@ -60,17 +60,6 @@ else
moretrees.expect_infinite_stacks = true
end
--- node clone, for redefining stuff
-
-function moretrees:clone_node(name)
- node2={}
- node=minetest.registered_nodes[name]
- for k,v in pairs(node) do
- node2[k]=v
- end
- return node2
-end
-
-- tables, load other files
moretrees.cutting_tools = {