remove default checks from before loading craft files (#19)

This commit is contained in:
wsor4035 2024-04-21 22:30:48 -04:00 committed by GitHub
parent 640bc42ae5
commit c3f11977c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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