initial import

This commit is contained in:
Nicolas Delaforge 2021-09-24 21:01:41 +02:00
parent 32f40a4dae
commit 1992d618a9
2 changed files with 3 additions and 3 deletions

View File

@ -18,9 +18,9 @@ export class BoLActorSheet extends ActorSheet {
/* -------------------------------------------- */
/** @override */
getData() {
getData(options) {
console.debug("getData");
const actor = super.getData();
const actor = super.getData(options);
console.log(actor.data);
actor.data.details = actor.data.data.details;
actor.data.attributes = Object.values(actor.data.data.attributes);

View File

@ -40,7 +40,7 @@ Hooks.once('init', async function () {
registerSystemSettings();
// Preload Handlebars Templates
preloadHandlebarsTemplates();
await preloadHandlebarsTemplates();
// Register Handlebars helpers
registerHandlebarsHelpers();