diff --git a/project/src/generators/LocationGenerator.ts b/project/src/generators/LocationGenerator.ts index 5afc2694..e98d13f3 100644 --- a/project/src/generators/LocationGenerator.ts +++ b/project/src/generators/LocationGenerator.ts @@ -997,7 +997,7 @@ export class LocationGenerator { let children: Item[] = []; const defaultPreset = this.cloner.clone(this.presetHelper.getDefaultPreset(chosenTpl)); - if (defaultPreset) + if (defaultPreset?._items) { try {