Fix deprecation : ItemSheet → foundry.appv1.sheets.ItemSheet (v13)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -74,7 +74,7 @@ Hooks.once("init", () => {
|
||||
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, {
|
||||
types: ["anomaly"],
|
||||
makeDefault: true,
|
||||
|
||||
Reference in New Issue
Block a user