From 7bc2fbe42130f973e283d12c32f5a7fa5f68a161 Mon Sep 17 00:00:00 2001 From: Steven Fuqua Date: Mon, 1 Feb 2021 00:04:55 -0800 Subject: [PATCH] 0.2.1: Disable hook debug logs. Fixes #5 --- CHANGELOG.md | 6 ++++++ module.json | 2 +- src/main.ts | 2 -- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a79e668..dd37780 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.2.1 - 2020/02/01 + +### Fixed + +- Disabled hook debug spew. Oops! + ## 0.2.0 - 2020/01/26 ### Added diff --git a/module.json b/module.json index b7e6d1f..56b97c2 100644 --- a/module.json +++ b/module.json @@ -1,6 +1,6 @@ { "name": "shared-token-visibility", - "version": "0.2.0", + "version": "0.2.1", "title": "Shared Token Visibility", "description": "Shares visibility of individual tokens between all players, regardless of dynamic lightning", "author": "Steven Fuqua", diff --git a/src/main.ts b/src/main.ts index 17f32de..209a2c2 100644 --- a/src/main.ts +++ b/src/main.ts @@ -32,8 +32,6 @@ function getRevealedTokenLayer(): RevealedTokenLayer | undefined { return ((canvas as unknown) as { [key: string]: RevealedTokenLayer })?.[REVEALED_TOKEN_LAYER_KEY]; } -CONFIG.debug.hooks = true; - Hooks.on("init", () => { game.settings.register(MODULE_NAME, SettingName.RevealNpc, { name: loc("Setting.RevealNpc.Title"),