summaryrefslogtreecommitdiff
path: root/technic_worldgen/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'technic_worldgen/init.lua')
-rw-r--r--technic_worldgen/init.lua10
1 files changed, 7 insertions, 3 deletions
diff --git a/technic_worldgen/init.lua b/technic_worldgen/init.lua
index 3e9e4dd..6209017 100644
--- a/technic_worldgen/init.lua
+++ b/technic_worldgen/init.lua
@@ -1,7 +1,11 @@
--- Minetest 0.4.6 : technic_worldgen
-
-modpath=minetest.get_modpath("technic_worldgen")
+local modpath = minetest.get_modpath("technic_worldgen")
dofile(modpath.."/nodes.lua")
dofile(modpath.."/oregen.lua")
dofile(modpath.."/crafts.lua")
+
+-- Rubber trees, moretrees also supplies these
+if not minetest.get_modpath("moretrees") then
+ dofile(modpath.."/rubber.lua")
+end
+