Fix: Add missing Handlebars partials to preload function
- Added partial-active-effects.hbs and partial-item-effects.hbs to preloadHandlebarsTemplates() - These partials were used in sheets but not preloaded, causing render errors - Fixed lang/fr.json formatting (added closing brace and newline) - Added test script to validate template loading - Added CORRECTIONS.md documentation Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@@ -195,6 +195,8 @@ export class MournbladeCYD2Utility {
|
||||
'systems/fvtt-mournblade-cyd-2-0/templates/partial-item-nav.hbs',
|
||||
'systems/fvtt-mournblade-cyd-2-0/templates/partial-item-prix.hbs',
|
||||
'systems/fvtt-mournblade-cyd-2-0/templates/partial-automation.hbs',
|
||||
'systems/fvtt-mournblade-cyd-2-0/templates/partial-active-effects.hbs',
|
||||
'systems/fvtt-mournblade-cyd-2-0/templates/partial-item-effects.hbs',
|
||||
'systems/fvtt-mournblade-cyd-2-0/templates/hud-adversites.hbs',
|
||||
]
|
||||
return foundry.applications.handlebars.loadTemplates(templatePaths);
|
||||
|
||||
Reference in New Issue
Block a user