#19 Auto öffne Items nach der erstellung auf dem Charakterbogen #36

Merged
Byroks merged 1 commits from #19-öffne-item-sheets-beim-erstellen into develop 2026-10-28 13:13:08 +01:00
+2 -1
View File
@@ -477,7 +477,8 @@ export class M6ActorSheet extends api.HandlebarsApplicationMixin(sheets.ActorShe
if (["action", "documentClass"].includes(dataKey)) continue; if (["action", "documentClass"].includes(dataKey)) continue;
foundry.utils.setProperty(docData, dataKey, value); foundry.utils.setProperty(docData, dataKey, value);
} }
docCls.create(docData, { parent: this.actor }); const doc = await docCls.create(docData, { parent: this.actor });
doc.sheet.render(true);
} }
/* -------------------------------------------------- */ /* -------------------------------------------------- */