Compare commits

..

No commits in common. "main" and "1.1.0" have entirely different histories.
main ... 1.1.0

2 changed files with 3 additions and 4 deletions

View file

@ -4,8 +4,8 @@
"description": "Adds a browser to easily find and copy Active Effect data paths in Daggerheart.", "description": "Adds a browser to easily find and copy Active Effect data paths in Daggerheart.",
"url": "https://git.geeks.gay/cosmo/dh-path-browser", "url": "https://git.geeks.gay/cosmo/dh-path-browser",
"manifest": "https://git.geeks.gay/cosmo/dh-path-browser/raw/branch/main/module.json", "manifest": "https://git.geeks.gay/cosmo/dh-path-browser/raw/branch/main/module.json",
"download": "https://git.geeks.gay/cosmo/dh-path-browser/releases/download/1.1.1/dh-path-browser.zip", "download": "https://git.geeks.gay/cosmo/dh-path-browser/releases/download/1.1.0/dh-path-browser.zip",
"version": "1.1.1", "version": "1.1.0",
"compatibility": { "compatibility": {
"minimum": "13", "minimum": "13",
"verified": "14" "verified": "14"

View file

@ -143,7 +143,7 @@ export class DhPathBrowserApp extends HandlebarsApplicationMixin(ApplicationV2)
// Process Actors // Process Actors
for (const [key, model] of Object.entries(game.system.api.models.actors)) { for (const [key, model] of Object.entries(game.system.api.models.actors)) {
if (ignoredActorKeys.includes(key) || !model?.metadata) continue; if (ignoredActorKeys.includes(key)) continue;
const group = game.i18n.localize(model.metadata.label); const group = game.i18n.localize(model.metadata.label);
const attributes = CONFIG.Token.documentClass.getTrackedAttributes(model.metadata.type); const attributes = CONFIG.Token.documentClass.getTrackedAttributes(model.metadata.type);
@ -169,7 +169,6 @@ export class DhPathBrowserApp extends HandlebarsApplicationMixin(ApplicationV2)
// Process Items // Process Items
for (const [key, model] of Object.entries(game.system.api.models.items)) { for (const [key, model] of Object.entries(game.system.api.models.items)) {
if (!model?.metadata) continue;
const group = `${game.i18n.localize('DOCUMENT.Item')} (${game.i18n.localize(model.metadata.label)})`; const group = `${game.i18n.localize('DOCUMENT.Item')} (${game.i18n.localize(model.metadata.label)})`;
const bonuses = getAllLeaves(model, model.schema.fields.bonuses, group); const bonuses = getAllLeaves(model, model.schema.fields.bonuses, group);