Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
version 0.5.27 disable hud for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
p4535992 committed Apr 1, 2022
1 parent 9f13582 commit 3bfe83f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions src/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href=\"https://www.flaticon.com/authors/freepik\" title=\"Freepik\">Freepik</a>, from <a href=\"https://www.flaticon.com/\" title=\"Flaticon\"> www.flaticon.com</a>. Moon icon made by <a href=\"https://www.flaticon.com/authors/iconixar\" title=\"iconixar\">iconixar</a> from <a href=\"https://www.flaticon.com/\" title=\"Flaticon\"> www.flaticon.com</a>",
"version": "0.5.26",
"version": "0.5.27",
"author": "Greg Ludington, p4535992, Szefo09, Teshynil",
"type": "module",
"socket": true,
Expand Down Expand Up @@ -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": [
Expand Down
12 changes: 6 additions & 6 deletions src/module/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<HTMLElement>, speakerInfo) => {
module.renderChatMessage(message, html, speakerInfo);
Expand Down

0 comments on commit 3bfe83f

Please sign in to comment.