remove default checks from before loading craft files (#19)
This commit is contained in:
parent
640bc42ae5
commit
c3f11977c7
|
@ -100,6 +100,6 @@ dofile(MODPATH.."/computers.lua")
|
|||
dofile(MODPATH.."/gaming.lua")
|
||||
dofile(MODPATH.."/aliases.lua")
|
||||
|
||||
if minetest.get_modpath("default") and minetest.get_modpath("basic_materials") then
|
||||
if minetest.get_modpath("basic_materials") then
|
||||
dofile(MODPATH.."/recipes.lua")
|
||||
end
|
||||
|
|
|
@ -100,7 +100,7 @@ else
|
|||
end
|
||||
|
||||
local MODPATH = minetest.get_modpath("home_workshop_misc")
|
||||
if minetest.get_modpath("default") and minetest.get_modpath("basic_materials") then
|
||||
if minetest.get_modpath("basic_materials") then
|
||||
dofile(MODPATH.."/crafts.lua")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue