diff --git a/mods/3d_armor/3d_armor/armor.conf b/mods/3d_armor/3d_armor/armor.conf index 4e4b86fd..b097f3dd 100755 --- a/mods/3d_armor/3d_armor/armor.conf +++ b/mods/3d_armor/3d_armor/armor.conf @@ -26,7 +26,7 @@ ARMOR_LEVEL_MULTIPLIER = 1 -- You can use this to increase or decrease overall armor healing, -- eg: ARMOR_HEAL_MULTIPLIER = 0 will disable healing altogether. -ARMOR_HEAL_MULTIPLIER = 0 +ARMOR_HEAL_MULTIPLIER = 1 -- You can also use this file to execute arbitary lua code -- eg: Dumb the armor down if using Simple Mobs diff --git a/mods/3d_armor/3d_armor/armor.lua b/mods/3d_armor/3d_armor/armor.lua index b7e26d99..6ae519cb 100755 --- a/mods/3d_armor/3d_armor/armor.lua +++ b/mods/3d_armor/3d_armor/armor.lua @@ -426,7 +426,7 @@ 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 not ( (name:split(":")[1] == "3d_armor" and stack:get_definition().groups["armor_heal"]) or name:split(":")[1] == "shields") then + if not ( (name:split(":")[1] == "3d_armor" and stack:get_definition().groups["armor_heal"]) or name:split(":")[1] == "shields" or name:split(":")[1] == "technic_armor") then return 0 end