fix the check for technic for craft recipes, use optional depends to

make sure it loads first
This commit is contained in:
Vanessa Ezekowitz 2013-07-22 01:02:29 -04:00
parent ec416df794
commit c9b180116f
2 changed files with 2 additions and 2 deletions

View File

@ -174,8 +174,7 @@ end
-- If the technic mod is present, then don't bother registering the recipes
-- for the various tubes, as technic has its own recipes for those.
if io.open(minetest.get_modpath("pipeworks").."/../technic/init.lua", "r") == nil and
io.open(minetest.get_modpath("pipeworks").."/../technic_master/technic/init.lua", "r") == nil then
if not minetest.get_modpath("technic") then
minetest.register_craft( {
output = "pipeworks:tube 12",

View File

@ -1,2 +1,3 @@
default
mesecons?
technic?