From bf7dac25aef81536846a67f8e0081d8f9df3a268 Mon Sep 17 00:00:00 2001 From: Dev Date: Fri, 12 Jan 2024 13:33:11 +0000 Subject: [PATCH] Allow fence to strip items from listed weapons that're not raid-modadble, players can sell broken guns to him from menu --- project/src/services/FenceService.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/project/src/services/FenceService.ts b/project/src/services/FenceService.ts index 399fa4f1..cfc5b74b 100644 --- a/project/src/services/FenceService.ts +++ b/project/src/services/FenceService.ts @@ -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)); }