diff --git a/module/actor/actor-sheet.js b/module/actor/actor-sheet.js index 0376580..cead6e5 100644 --- a/module/actor/actor-sheet.js +++ b/module/actor/actor-sheet.js @@ -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); diff --git a/module/bol.js b/module/bol.js index 6873e03..2392ff6 100644 --- a/module/bol.js +++ b/module/bol.js @@ -40,7 +40,7 @@ Hooks.once('init', async function () { registerSystemSettings(); // Preload Handlebars Templates - preloadHandlebarsTemplates(); + await preloadHandlebarsTemplates(); // Register Handlebars helpers registerHandlebarsHelpers();