Forgot Instance of Parent Update

Updates the `replaceIDs` method call in the `LocationGenerator` class to be inline with the changes in the parent commit.
This commit is contained in:
Refringe 2024-02-06 18:50:42 -05:00
parent 42dabc057b
commit 6714d2d172
No known key found for this signature in database
GPG Key ID: 64E03E5F892C6F9E

View File

@ -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;