Fix deprecation : loadTemplates → foundry.applications.handlebars.loadTemplates (v13)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-03-29 16:51:49 +02:00
parent 2e06b70761
commit 6bad05809e

View File

@@ -185,7 +185,7 @@ function _registerSettings() {
function _preloadTemplates() { function _preloadTemplates() {
const base = `systems/${SYSTEM_ID}/templates` const base = `systems/${SYSTEM_ID}/templates`
loadTemplates([ foundry.applications.handlebars.loadTemplates([
`${base}/character-main.hbs`, `${base}/character-main.hbs`,
`${base}/character-competences.hbs`, `${base}/character-competences.hbs`,
`${base}/character-blessures.hbs`, `${base}/character-blessures.hbs`,