From a4f1cb23d9f672115e121f43eec5c0dfcbea2fdf Mon Sep 17 00:00:00 2001 From: Kaeno Date: Sun, 11 Feb 2024 14:45:01 +0000 Subject: [PATCH] Temporary fix for containers having missing items. due to Armor not being generated correctly --- project/src/generators/LocationGenerator.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/project/src/generators/LocationGenerator.ts b/project/src/generators/LocationGenerator.ts index 5808edb8..352c784b 100644 --- a/project/src/generators/LocationGenerator.ts +++ b/project/src/generators/LocationGenerator.ts @@ -1085,6 +1085,8 @@ export class LocationGenerator const presetAndMods: Item[] = this.itemHelper.replaceIDs(defaultPreset._items); this.itemHelper.remapRootItemId(presetAndMods); + // TODO: Improve retaining parentID + presetAndMods[0].parentId = items[0].parentId; items = presetAndMods; } else