diff --git a/README.md b/README.md index 7156a5c..bd6b4f5 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ Additionally, in D&D5e only: ## Changelog This has needed to be pieced together a bit, but here's what I've gleaned from the GIT history. +* 1.4.1 - October 23, 2021 - (Lupestro) Fixed bug in restructuring that broke features for non-DnD5e. * 1.4.0 - October 23, 2021 - - (C-S-McFarland) Fix for bug when you have torch and light spell. - (Lupestro) Major restructuring with cleanup of race conditions. diff --git a/module.json b/module.json index 0a408bf..a1e7ff6 100644 --- a/module.json +++ b/module.json @@ -2,7 +2,7 @@ "name": "torch", "title": "Torch", "description": "Torch HUD Controls", - "version": "1.4.0", + "version": "1.4.1", "author": "Deuce", "languages": [ { diff --git a/torch.js b/torch.js index 09fe361..c5b4602 100644 --- a/torch.js +++ b/torch.js @@ -165,7 +165,7 @@ class Torch { let tokenId = tokenHUD.object.id; let tokenDoc = tokenHUD.object.document ? tokenHUD.object.document : tokenHUD.object; let tokenData = tokenDoc.data; - let itemName = game.settings.get("torch", "gmInventoryItemName"); + let itemName = game.system.id === 'dnd5e' ? game.settings.get("torch", "gmInventoryItemName") : ""; let torchDimRadius = game.settings.get("torch", "dimRadius"); let torchBrightRadius = game.settings.get("torch", "brightRadius"); diff --git a/torch.zip b/torch.zip index 4d3279e..5c5db9b 100644 Binary files a/torch.zip and b/torch.zip differ