mirror of
https://github.com/RoY7x/worldbuilding.git
synced 2025-07-13 01:41:56 -04:00
V10 compatibility with 0.7.0-alpha1 release
This commit is contained in:
parent
107aec3244
commit
e23893b6ca
12 changed files with 125 additions and 126 deletions
|
@ -23,12 +23,16 @@ export class SimpleActorSheet extends ActorSheet {
|
|||
/* -------------------------------------------- */
|
||||
|
||||
/** @inheritdoc */
|
||||
getData() {
|
||||
const context = super.getData();
|
||||
async getData(options) {
|
||||
const context = await super.getData(options);
|
||||
EntitySheetHelper.getAttributeData(context.data);
|
||||
context.shorthand = !!game.settings.get("worldbuilding", "macroShorthand");
|
||||
context.systemData = context.data.data;
|
||||
context.systemData = context.data.system;
|
||||
context.dtypes = ATTRIBUTE_TYPES;
|
||||
context.biographyHTML = await TextEditor.enrichHTML(context.systemData.biography, {
|
||||
secrets: this.document.isOwner,
|
||||
async: true
|
||||
});
|
||||
return context;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue