1
0
mirror of https://github.com/minetest-mods/3d_armor.git synced 2024-12-26 18:50:40 +01:00

Register armor after mod compat tests, fixes #106

This commit is contained in:
stujones11 2017-05-10 20:33:49 +01:00
parent 793c74856f
commit ea29ec6f6f

View File

@ -58,8 +58,6 @@ for material, _ in pairs(armor.materials) do
end
end
dofile(modpath.."/armor.lua")
-- Mod Compatibility
if minetest.get_modpath("technic") then
@ -87,6 +85,8 @@ if not minetest.get_modpath("ethereal") then
armor.materials.crystal = nil
end
dofile(modpath.."/armor.lua")
-- Armor Initialization
armor.formspec = armor.formspec..