#19 Auto öffne Items nach der erstellung auf dem Charakterbogen
This commit was merged in pull request #36.
This commit is contained in:
1 parent
113315f68f
commit
d17cd3c9b6
1 file changed
+2
-1
@@ -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