forked from mtcontrib/3d_armor
Register armor after mod compat tests, fixes #106
This commit is contained in:
parent
793c74856f
commit
ea29ec6f6f
@ -58,8 +58,6 @@ for material, _ in pairs(armor.materials) do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
dofile(modpath.."/armor.lua")
|
|
||||||
|
|
||||||
-- Mod Compatibility
|
-- Mod Compatibility
|
||||||
|
|
||||||
if minetest.get_modpath("technic") then
|
if minetest.get_modpath("technic") then
|
||||||
@ -87,6 +85,8 @@ if not minetest.get_modpath("ethereal") then
|
|||||||
armor.materials.crystal = nil
|
armor.materials.crystal = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
dofile(modpath.."/armor.lua")
|
||||||
|
|
||||||
-- Armor Initialization
|
-- Armor Initialization
|
||||||
|
|
||||||
armor.formspec = armor.formspec..
|
armor.formspec = armor.formspec..
|
||||||
|
Loading…
Reference in New Issue
Block a user