From c65e227f483d9c179bd63a27cb00b875e5889fb6 Mon Sep 17 00:00:00 2001 From: jessev14 Date: Thu, 3 Mar 2022 22:11:00 -0500 Subject: [PATCH] Update dnd5e-character-monitor.js --- scripts/dnd5e-character-monitor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dnd5e-character-monitor.js b/scripts/dnd5e-character-monitor.js index 308bdd8..888b875 100644 --- a/scripts/dnd5e-character-monitor.js +++ b/scripts/dnd5e-character-monitor.js @@ -493,7 +493,7 @@ class CharacterMonitor { // Currency changes if (game.settings.get(moduleName, "monitorCurrency") && ("currency" in (data.data || {}))) { for (const [currency, newValue] of Object.entries(data.data.currency)) { - //const oldValue = actor.data.data.currency[currency]; + const oldValue = actor.data.data.currency[currency]; // Ignore any updates that attempt to change values between zero <--> null.; if (newValue === null) continue;