From 6714d2d1721308cf95ae9c26562e89fe8eb7198d Mon Sep 17 00:00:00 2001 From: Refringe Date: Tue, 6 Feb 2024 18:50:42 -0500 Subject: [PATCH] Forgot Instance of Parent Update Updates the `replaceIDs` method call in the `LocationGenerator` class to be inline with the changes in the parent commit. --- project/src/generators/LocationGenerator.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/project/src/generators/LocationGenerator.ts b/project/src/generators/LocationGenerator.ts index 70e3da5c..380ac931 100644 --- a/project/src/generators/LocationGenerator.ts +++ b/project/src/generators/LocationGenerator.ts @@ -1085,10 +1085,7 @@ export class LocationGenerator const defaultPreset = this.presetHelper.getDefaultPreset(chosenTpl); if (defaultPreset) { - const presetAndMods: Item[] = this.itemHelper.replaceIDs( - null, - this.jsonUtil.clone(defaultPreset._items), - ); + const presetAndMods: Item[] = this.itemHelper.replaceIDs(defaultPreset._items); this.itemHelper.remapRootItemId(presetAndMods); items = presetAndMods;