remove default checks from before loading craft files

This commit is contained in:
wsor4035 2024-04-21 22:29:56 -04:00
parent 640bc42ae5
commit 28efe03098
2 changed files with 2 additions and 2 deletions

View File

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

View File

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