error removing

master
ademant 2018-11-09 08:13:24 +01:00
parent 4967d78b31
commit a25261fea9
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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")