diff --git a/3d_armor/api.lua b/3d_armor/api.lua index a692a8f3..fa160ed8 100644 --- a/3d_armor/api.lua +++ b/3d_armor/api.lua @@ -415,7 +415,7 @@ armor.set_player_armor = function(self, player) end -- DEPRECATED, use armor_groups instead if def.groups["armor_radiation"] and levels["radiation"] then - levels["radiation"] = def.groups["armor_radiation"] + levels["radiation"] = levels["radiation"] + def.groups["armor_radiation"] end end local item = stack:get_name()