Fix Hook init usage in v12

This commit is contained in:
2025-01-14 00:39:28 +01:00
parent 72a9752820
commit b524716ede
3 changed files with 8 additions and 7 deletions

View File

@ -107,7 +107,7 @@ export class RdDUtility {
}
/* -------------------------------------------- */
static async preloadHandlebarsTemplates() {
static preloadHandlebarsTemplates() {
const templatePaths = [
//Character Sheets
'systems/foundryvtt-reve-de-dragon/templates/actor-sheet.html',
@ -341,7 +341,7 @@ export class RdDUtility {
Handlebars.registerHelper('typeTmr-name', type => TMRUtility.typeTmrName(type));
Handlebars.registerHelper('effetRencontre-name', coord => TMRUtility.typeTmrName(coord));
await loadTemplates(templatePaths);
loadTemplates(templatePaths);
}
static getItem(itemId, actorId = undefined) {