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

This commit was merged in pull request #36.
This commit is contained in:
Byroks committed 2026-10-28 13:11:13 +01:00
1 parent 113315f68f
commit d17cd3c9b6
1 file changed
+2 -1
+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);
} }
/* -------------------------------------------------- */ /* -------------------------------------------------- */