Fix deprecation : ItemSheet → foundry.appv1.sheets.ItemSheet (v13)

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

View File

@@ -74,7 +74,7 @@ Hooks.once("init", () => {
label: "CELESTOPOL.Sheet.npc", label: "CELESTOPOL.Sheet.npc",
}) })
foundry.documents.collections.Items.unregisterSheet("core", ItemSheet) foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet)
foundry.documents.collections.Items.registerSheet(SYSTEM_ID, CelestopolAnomalySheet, { foundry.documents.collections.Items.registerSheet(SYSTEM_ID, CelestopolAnomalySheet, {
types: ["anomaly"], types: ["anomaly"],
makeDefault: true, makeDefault: true,