initial import
This commit is contained in:
parent
32f40a4dae
commit
1992d618a9
@ -18,9 +18,9 @@ export class BoLActorSheet extends ActorSheet {
|
|||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
|
|
||||||
/** @override */
|
/** @override */
|
||||||
getData() {
|
getData(options) {
|
||||||
console.debug("getData");
|
console.debug("getData");
|
||||||
const actor = super.getData();
|
const actor = super.getData(options);
|
||||||
console.log(actor.data);
|
console.log(actor.data);
|
||||||
actor.data.details = actor.data.data.details;
|
actor.data.details = actor.data.data.details;
|
||||||
actor.data.attributes = Object.values(actor.data.data.attributes);
|
actor.data.attributes = Object.values(actor.data.data.attributes);
|
||||||
|
@ -40,7 +40,7 @@ Hooks.once('init', async function () {
|
|||||||
registerSystemSettings();
|
registerSystemSettings();
|
||||||
|
|
||||||
// Preload Handlebars Templates
|
// Preload Handlebars Templates
|
||||||
preloadHandlebarsTemplates();
|
await preloadHandlebarsTemplates();
|
||||||
|
|
||||||
// Register Handlebars helpers
|
// Register Handlebars helpers
|
||||||
registerHandlebarsHelpers();
|
registerHandlebarsHelpers();
|
||||||
|
Loading…
Reference in New Issue
Block a user