From 0f3078d52b7d0a57febfd463cdf074666cd77e0b Mon Sep 17 00:00:00 2001 From: Jrc13245 Date: Wed, 15 Oct 2025 16:33:51 -0400 Subject: [PATCH] fix quotational spells or items used with validatecooldown --- Conditionals.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Conditionals.lua b/Conditionals.lua index e2e1d81..3c57df6 100644 --- a/Conditionals.lua +++ b/Conditionals.lua @@ -538,7 +538,14 @@ end function CleveRoids.ValidateCooldown(args, ignoreGCD) if not args then return false end if type(args) ~= "table" then - args = {name = args} + -- Normalize the spell name by replacing underscores with spaces + local normalized = string.gsub(args, "_", " ") + args = {name = normalized} + else + -- Also normalize if it's already a table + if args.name then + args.name = string.gsub(args.name, "_", " ") + end end local expires = CleveRoids.GetCooldown(args.name, ignoreGCD)