diff --git a/mods/3d_armor/3d_armor/armor.lua b/mods/3d_armor/3d_armor/armor.lua index 44bcf4e9..e95a8ed9 100755 --- a/mods/3d_armor/3d_armor/armor.lua +++ b/mods/3d_armor/3d_armor/armor.lua @@ -437,6 +437,9 @@ minetest.register_on_joinplayer(function(player) --MFF (crabman/27/11/2015) no same item type. *helmet* local ptype = name:split(":")[2]:split("_")[1] + if ptype == "enchanted" then + ptype = name:split(":")[2]:split("_")[2] + end for i=1, size do local stack = player_inv:get_stack(listname, i) if stack:get_count() > 0 then