From 3bfe83ff88bdfca8a4e4d66454e497ef0d203e89 Mon Sep 17 00:00:00 2001 From: p4535992 Date: Fri, 1 Apr 2022 19:43:18 +0200 Subject: [PATCH] version 0.5.27 disable hud for loop --- CHANGELOG.md | 4 ++++ src/module.json | 8 ++++---- src/module/module.ts | 12 ++++++------ 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1c1450..34f0254 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### 0.5.27 + +- Disable HUD for loop + ### 0.5.23-24-25-26 - Bug fix on unset flag and repair method diff --git a/src/module.json b/src/module.json index 8a94153..0e112f9 100644 --- a/src/module.json +++ b/src/module.json @@ -2,7 +2,7 @@ "name": "conditional-visibility", "title": "Conditional Visibility", "description": "Hide tokens from some players, but not others, based on the senses the players have. Uses unknown, newspaper, and foggy icons made by Freepik, from www.flaticon.com. Moon icon made by iconixar from www.flaticon.com", - "version": "0.5.26", + "version": "0.5.27", "author": "Greg Ludington, p4535992, Szefo09, Teshynil", "type": "module", "socket": true, @@ -61,9 +61,9 @@ "manifestPlusVersion": "1.2.0", "url": "https://github.com/p4535992/conditional-visibility", "manifest": "https://github.com/p4535992/conditional-visibility/releases/latest/download/module.json", - "download": "https://github.com/p4535992/conditional-visibility/releases/download/v0.5.26/module.zip", - "readme": "https://github.com/p4535992/conditional-visibility/blob/v0.5.26/README.md", - "changelog": "https://github.com/p4535992/conditional-visibility/blob/v0.5.26/changelog.md", + "download": "https://github.com/p4535992/conditional-visibility/releases/download/v0.5.27/module.zip", + "readme": "https://github.com/p4535992/conditional-visibility/blob/v0.5.27/README.md", + "changelog": "https://github.com/p4535992/conditional-visibility/blob/v0.5.27/changelog.md", "bugs": "https://github.com/p4535992/conditional-visibility/issues", "allowBugReporter": true, "dependencies": [ diff --git a/src/module/module.ts b/src/module/module.ts index 02c54db..8612454 100644 --- a/src/module/module.ts +++ b/src/module/module.ts @@ -146,12 +146,12 @@ export const readyHooks = (): void => { module.updateActiveEffect(effect, options, true); }); - Hooks.on('renderTokenHUD', (app, html, data) => { - // Only GM can see this - if (game.user?.isGM) { - module.renderTokenHUD(app, html, data); - } - }); + // Hooks.on('renderTokenHUD', (app, html, data) => { + // // Only GM can see this + // if (game.user?.isGM) { + // module.renderTokenHUD(app, html, data); + // } + // }); Hooks.on('renderChatMessage', async (message: ChatMessage, html: JQuery, speakerInfo) => { module.renderChatMessage(message, html, speakerInfo);