#19 Auto öffne Items nach der erstellung auf dem Charakterbogen #36
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -------------------------------------------------- */
|
/* -------------------------------------------------- */
|
||||||
|
|||||||
Reference in new issue
Block a user