Don't add item count for hearth stone

This commit is contained in:
telkar-rg
2023-10-07 09:42:05 +02:00
parent 3ff6ef385f
commit 5c5b1bbbb1
+4
View File
@@ -184,6 +184,8 @@ local function GetCharacterItemCount(character, searchedID)
itemCounts[5] = DataStore:GetMailItemCount(character, searchedID)
itemCounts[6] = DataStore:GetCurrencyItemCount(character, searchedID)
if searchedID==6948 then return 0 end
local charCount = 0
for _, v in pairs(itemCounts) do
charCount = charCount + v
@@ -281,10 +283,12 @@ local function GetRecipeOwners(professionName, link, recipeLevel)
local spellID = addon:GetSpellIDFromRecipeLink(link)
if not spellID then -- spell id unknown ? let's parse the tooltip
if true then return end
craftName = GetCraftNameFromRecipeLink(link)
if not craftName then return end -- still nothing usable ? then exit
end
local know = {} -- list of alts who know this recipe
local couldLearn = {} -- list of alts who could learn it
local willLearn = {} -- list of alts who will be able to learn it later