From b91461f1c32d595725aa0cb1d9f96228d5bb3dd8 Mon Sep 17 00:00:00 2001 From: Jrc13245 Date: Wed, 27 Aug 2025 16:43:15 -0400 Subject: [PATCH] typos --- Core.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core.lua b/Core.lua index a18b0c0..d224499 100644 --- a/Core.lua +++ b/Core.lua @@ -87,7 +87,7 @@ function CleveRoids.GetReagentCount(reagentName) -- Prefer link → id when available local link = (GetContainerItemLink and GetContainerItemLink(bag, slot)) or nil if link then - local id = tonumber(string.match(link, "item:(%d+)")) + local id = tonumber(string.find(link, "item:(%d+)")) if (wantId and id == wantId) or (not wantId and string.find(link, "%["..reagentName.."%]")) then total = total + (count > 0 and count or 1) end @@ -159,7 +159,7 @@ function CleveRoids.GetSpellCost(spellSlot, bookType) end if not cost and rt ~= "" then - local n = string.match(rt, "^(%d+)%s+(Mana|Energy|Rage|Focus)") + local n = string.find(rt, "^(%d+)%s+(Mana|Energy|Rage|Focus)") if n then cost = tonumber(n) end end