From ea29ec6f6fe0e8c48508159d5f573f72018e1882 Mon Sep 17 00:00:00 2001 From: stujones11 Date: Wed, 10 May 2017 20:33:49 +0100 Subject: [PATCH] Register armor after mod compat tests, fixes #106 --- 3d_armor/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3d_armor/init.lua b/3d_armor/init.lua index a96f480..277c4f2 100644 --- a/3d_armor/init.lua +++ b/3d_armor/init.lua @@ -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..