From 858351da584712299a48827cbada7d6b907ff675 Mon Sep 17 00:00:00 2001 From: cadowtin Date: Sat, 24 Aug 2024 03:53:01 -0500 Subject: [PATCH] Fixed issue --- scripts/module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/module.js b/scripts/module.js index b317147..60fd931 100644 --- a/scripts/module.js +++ b/scripts/module.js @@ -61,7 +61,7 @@ export async function updateFrequency(character, total, diff, situation = "defau } export function isItemRelevant(item, total, diff, situation) { - if (!item?.getFlag(MODULE_ID, "cooldown")) updateItem(item, item, _diff, _userID); + if (!item?.getFlag(MODULE_ID, "cooldown")) updateItem(item, item, diff, null); const { cooldown } = item?.getFlag(MODULE_ID, "cooldown") || {}; const isSpecialCase = checkAndHandleSpecialCase(item, total, diff, situation); if (!cooldown && !isSpecialCase) return false;