diff --git a/craft.lua b/craft.lua index fcd43f6..f28a25d 100644 --- a/craft.lua +++ b/craft.lua @@ -2,6 +2,6 @@ local S = farming.intllib local modname=minetest.get_current_modname() -- define seed crafting -if (minetest.modpath("technic") and minetest.modpath("farming")) then - technic.register_grinder_recipe({input = {"farming:seed_wheat 3"},output={"farming:flour"}) +if (minetest.get_modpath("technic") and minetest.get_modpath("farming")) then + technic.register_grinder_recipe({input = {"farming:seed_wheat 3"},output={"farming:flour"}}) end diff --git a/technic.lua b/technic.lua index 3c90521..ec84eaf 100644 --- a/technic.lua +++ b/technic.lua @@ -3,7 +3,7 @@ if minetest.get_modpath("technic") ~= nil then technic.register_tier("VP", "Vapor driven") - local path = farming_technic.modpath + local path = farming_technic.path -- Wiring stuff dofile(path.."/cables.lua")