diff --git a/3d_armor/api.lua b/3d_armor/api.lua index 0d3246a..13b31f8 100644 --- a/3d_armor/api.lua +++ b/3d_armor/api.lua @@ -196,6 +196,9 @@ armor.set_player_armor = function(self, player) local attributes = {} local levels = {} local groups = {} + if minetest.settings:get("enable_damage") then + groups["immortal"] = 1 + end local change = {} for _, phys in pairs(self.physics) do physics[phys] = 1