This commit is contained in:
2025-09-18 18:32:48 +02:00
parent ddae4ad4b0
commit 1abe31b3c8
7 changed files with 700 additions and 293 deletions
+2 -3
View File
@@ -3,9 +3,8 @@ Hooks.once('init', async () => {
if (typeof Handlebars?.registerHelper === "function") {
Handlebars.registerHelper("json", (ctx) => JSON.stringify(ctx ?? {}, null, 2));
}
await loadTemplates([
"modules/wg-voidships-builder/templates/voidship-sheet.hbs"
]);
await loadTemplates(["modules/wg-voidships-builder/templates/voidship-sheet.hbs"]);
console.debug("[VB] templates preloaded");
} catch (e) {
console.warn("wg-voidships-builder: init failed", e);
}