Généralisation des fréquences

Tout objet d'inventaire a une fréquence (en ville/village, ou autre
milieu)
This commit is contained in:
2023-01-18 01:37:22 +01:00
parent 4df04fe06f
commit 851a208aee
42 changed files with 517 additions and 518 deletions

View File

@ -61,7 +61,7 @@ export class SystemCompendiums extends FormApplication {
static async getPackContent(compendium, docType) {
const pack = SystemCompendiums.getPack(compendium);
if (pack.metadata.type == docType) {
if (pack?.metadata.type == docType) {
return await pack.getDocuments();
}
return [];