From 1327f92f412a22c01c47f5deccb7fe9f80ded405 Mon Sep 17 00:00:00 2001 From: rwanoux Date: Sat, 23 Nov 2024 11:52:41 +0100 Subject: [PATCH] =?UTF-8?q?fix=20de=20la=20config=20model=20pour=20select?= =?UTF-8?q?=20items=20et=20sp=C3=A9cialit=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/vermine2047.mjs | 3 ++- templates/item/item-item-sheet.html | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/module/vermine2047.mjs b/module/vermine2047.mjs index 50b0632..4ca5b53 100644 --- a/module/vermine2047.mjs +++ b/module/vermine2047.mjs @@ -36,7 +36,8 @@ Hooks.once('init', async function () { // Add custom constants for configuration. CONFIG.VERMINE = VERMINE; - CONFIG.VERMINE.model = game.system.documentTypes + CONFIG.VERMINE.model = game.system.template; + /** * Set an initiative formula for the system * @type {String} diff --git a/templates/item/item-item-sheet.html b/templates/item/item-item-sheet.html index dcbfaad..69c83b4 100644 --- a/templates/item/item-item-sheet.html +++ b/templates/item/item-item-sheet.html @@ -14,11 +14,12 @@ {{#if system.needSkill.value}}