Properties from pack

Editable functionalities (hide icons)
Merge of edit/add/delete items hooks
This commit is contained in:
Vlyan
2020-12-24 15:51:52 +01:00
parent 3c79556152
commit 0f1afcf740
24 changed files with 230 additions and 82 deletions

View File

@@ -44,7 +44,7 @@ export class ItemSheetL5r5e extends ItemSheet {
props.push({ id: property.id, name: item.name });
} else {
// Pack item
item = await game.packs.get("l5r5e.Properties").getEntry(property.id);
item = await game.packs.get(CONFIG.l5r5e.packsIds.properties.core).getEntry(property.id);
if (item) {
sheetData.data.propertiesList.push(item);
props.push({ id: item._id, name: item.name });