summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-06-12 08:13:32 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-06-12 08:13:32 +0100
commit875891802a62495a0ca1686d5a0bc99003826a82 (patch)
tree4d4efc9fde8f640cb76e2b9fd58c6fd5e29df511
parent153ef883cccadc0e164c9e5632ff7bc12e8e8876 (diff)
fix moretree's rubber sapling when technic_worldgen used
-rw-r--r--depends.txt1
-rw-r--r--mods.lua6
2 files changed, 7 insertions, 0 deletions
diff --git a/depends.txt b/depends.txt
index bbdb1eb..4d286ca 100644
--- a/depends.txt
+++ b/depends.txt
@@ -3,3 +3,4 @@ intllib?
farming?
ethereal?
moretrees?
+technic_worldgen?
diff --git a/mods.lua b/mods.lua
index 870dcb1..4dc6aae 100644
--- a/mods.lua
+++ b/mods.lua
@@ -107,4 +107,10 @@ if minetest.get_modpath("moretrees") then
{"moretrees:rubber_tree_sapling", moretrees.spawn_rubber_tree_object, "soil"},
{"moretrees:fir_sapling", fir_grow, "soil"},
})
+
+elseif minetest.get_modpath("technic_worldgen") then
+
+ bonemeal.add_sapling({
+ {"moretrees:rubber_tree_sapling", technic.rubber_tree_model, "soil"}.
+ })
end