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:
parent
c5806aadb8
commit
bf7dac25ae
@ -695,13 +695,6 @@ export class FenceService
|
|||||||
continue;
|
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
|
// 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));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user