Fix items sheets
Some checks failed
Release Creation / build (release) Failing after 1m0s

This commit is contained in:
2025-05-15 18:18:40 +02:00
parent 3904f595b5
commit 8ae193dc34
93 changed files with 313 additions and 309 deletions

View File

@@ -13,6 +13,7 @@ export class BoLItemSheet extends foundry.appv1.sheets.ItemSheet {
template: "systems/bol/templates/item/item-sheet.hbs",
width: 650,
height: 780,
dragDrop: [{ dragSelector: null, dropSelector: null }],
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description" }]
});
}
@@ -102,6 +103,7 @@ export class BoLItemSheet extends foundry.appv1.sheets.ItemSheet {
activateListeners(html) {
super.activateListeners(html);
// Everything below here is only needed if the sheet is editable
if (!this.options.editable) return;
// Roll handlers, click handlers, etc. would go here.