Refringe ebbc3e2029
Refactored InsuranceController for Better Attachment Handling
Made several improvements to the `InsuranceController` to ensure a more reliable and logical handling of insured items and their attachments.

- Updates `parentAttachmentsMap` declaration to `let` for mutability, enabling dynamic updates during processing.
- Updates `parentAttachmentsMap` to initially include all attachments (including attachments that should not be in-raid moddable).
- Updates `processRegularItems` logic to include `parentAttachmentsMap` in its parameters and logic. Now better ensures that attachments are correctly identified and processed alongside their parent items.
- Adds `removeNonModdableAttachments` method to filter out non-moddable attachments from processing.
- Updates deletion logic to better handle cases where items, such as armour vests and their non-removable plates, are processed to prevent orphaned items post-deletion.

Resolves #401
2024-02-07 01:16:46 -05:00
..
2023-12-15 14:06:02 +00:00
2024-02-05 19:03:26 -05:00
2023-03-03 15:23:46 +00:00
2023-12-15 13:59:45 +00:00
2023-10-29 22:20:34 +00:00
2023-11-16 21:42:06 +00:00
2023-03-03 15:23:46 +00:00
2023-11-16 21:42:06 +00:00
2023-12-12 09:50:46 +00:00
2023-11-16 21:42:06 +00:00
2024-02-05 19:03:26 -05:00
2023-12-21 19:02:07 +00:00
2023-11-06 19:39:13 +00:00
2023-11-06 19:39:13 +00:00
2023-11-16 21:42:06 +00:00
2023-11-15 21:12:40 -05:00