diff --git a/mods/3d_armor/3d_armor/armor.lua b/mods/3d_armor/3d_armor/armor.lua index 7531351a..d9621e1e 100755 --- a/mods/3d_armor/3d_armor/armor.lua +++ b/mods/3d_armor/3d_armor/armor.lua @@ -469,6 +469,9 @@ minetest.register_on_joinplayer(function(player) local name = stack:get_name() local player_inv = player:get_inventory() local size = player_inv:get_size(listname) + if minetest.get_item_group(name, "armor_use") == 0 then + return 0 + end if name:find("shield") then for i=1, size do local stack = player_inv:get_stack(listname, i)