FIx weapons/armors not showing on fence
This commit is contained in:
parent
f429cbd663
commit
ce27f58664
@ -543,6 +543,9 @@ export class FenceService
|
|||||||
this.itemHelper.reparentItemAndChildren(presetWithChildrenClone[0], presetWithChildrenClone);
|
this.itemHelper.reparentItemAndChildren(presetWithChildrenClone[0], presetWithChildrenClone);
|
||||||
this.itemHelper.remapRootItemId(presetWithChildrenClone);
|
this.itemHelper.remapRootItemId(presetWithChildrenClone);
|
||||||
|
|
||||||
|
// Remapping IDs causes parentid to be altered
|
||||||
|
presetWithChildrenClone[0].parentId = "hideout";
|
||||||
|
|
||||||
assorts.items.push(...presetWithChildrenClone);
|
assorts.items.push(...presetWithChildrenClone);
|
||||||
|
|
||||||
// Must be careful to use correct id as the item has had its IDs regenerated
|
// Must be careful to use correct id as the item has had its IDs regenerated
|
||||||
|
Loading…
x
Reference in New Issue
Block a user