Allow fence to list items with missing required items

This commit is contained in:
Dev 2024-01-12 13:30:22 +00:00
parent 66ab32e6c4
commit c5806aadb8

View File

@ -701,11 +701,6 @@ export class FenceService
continue; continue;
} }
const slotDetails = itemDbDetails[1]._props.Slots.find(slot => slot._name === itemMod.slotId);
if (slotDetails?._required)
{
continue;
}
// Remove item and its sub-items to prevent orphans // Remove item and its sub-items to prevent orphans
toDelete.push(...this.itemHelper.findAndReturnChildrenByItems(itemAndMods, itemMod._id)); toDelete.push(...this.itemHelper.findAndReturnChildrenByItems(itemAndMods, itemMod._id));