This commit is contained in:
Joscha Maier
2024-11-04 00:47:13 +01:00
parent bc71b3d2cc
commit dd42e5487c
6 changed files with 18 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
const {api, sheet} = foundry.applications;
const {api, sheets} = foundry.applications;
export default class BaseActorSheet extends api.HandlebarsApplicationMixin(sheets.ActorSheetV2) {
@@ -21,4 +21,11 @@ export default class BaseActorSheet extends api.HandlebarsApplicationMixin(sheet
return `systems/kidsonbrooms/templates/actor/actor-sheet-{$this.actor.type}.html`;
}
async getData()
{
const context = super.getData();
console.log(context);
return context;
}
}