Add ability to select custom status icons #44

Merged
Oliver merged 5 commits from feature/custom-status-icons into main 2026-02-13 04:20:20 +00:00
Showing only changes of commit 79c639bc31 - Show all commits

View file

@ -60,7 +60,7 @@ export class StatusEffectIconConfig extends HandlebarsApplicationMixin(Applicati
meta: {
idp: this.id,
},
showImageTaggerButton: game.modules.get(`image-tagger`).active,
showImageTaggerButton: game.modules.get(`image-tagger`)?.active ?? false,
Oliver marked this conversation as resolved Outdated

Need a null coalesce operator on this so that it doesn't throw at runtime if image-tagger isn't installed

Need a null coalesce operator on this so that it doesn't throw at runtime if `image-tagger` isn't installed
};
const effects = Object.values(CONFIG.statusEffects);