optimisation

This commit is contained in:
AFCMS 2021-03-27 08:02:50 +01:00
parent 61c9d065fb
commit 896b213f17
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,8 @@
local S = minetest.get_translator("mcl_armor") local S = minetest.get_translator("mcl_armor")
local modpath = minetest.get_modpath(minetest.get_current_modname())
dofile(minetest.get_modpath(minetest.get_current_modname()).."/armor.lua") dofile(modpath.."/armor.lua")
dofile(minetest.get_modpath(minetest.get_current_modname()).."/alias.lua") dofile(modpath.."/alias.lua")
-- Regisiter Head Armor -- Regisiter Head Armor
@ -390,3 +391,4 @@ for k, v in pairs(craft_ingreds) do
end end
end end
dofile(modpath.."/alias.lua")

View File