Allow fence to strip items from listed weapons that're not raid-modadble, players can sell broken guns to him from menu

This commit is contained in:
Dev 2024-01-12 13:33:11 +00:00
parent c5806aadb8
commit bf7dac25ae

View File

@ -695,13 +695,6 @@ export class FenceService
continue;
}
// Is a mod and can't be edited in-raid
if (itemMod.slotId !== "hideout" && !itemDbDetails[1]._props.RaidModdable)
{
continue;
}
// Remove item and its sub-items to prevent orphans
toDelete.push(...this.itemHelper.findAndReturnChildrenByItems(itemAndMods, itemMod._id));
}