-More LootButton Fixes - Crafting and Spells should work

This commit is contained in:
merstrax
2022-08-11 00:33:20 -04:00
parent 94784c5975
commit 03d14c477c
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -682,7 +682,7 @@ local function DoSearch(searchText)
local spellName = GetSpellName(itemId, atlasName)
if nameMatches(spellName, searchText) then
spellName = string.sub(atlasName, 1, 4) .. spellName;
AddItemToSearchResult(itemId, itemType, spellName, dataID, itemIdBackup)
AddItemToSearchResult(itemId, itemType, spellName, dataID, itemIdBackup, AtlasLoot_Difficulty:getMaxDifficulty(data.Type), dataPage);
end
end
end