Skip to content

Commit

Permalink
Wrath release, also setting to allow hide/show of HS analogues, fix f…
Browse files Browse the repository at this point in the history
…or interface when HS analogues disabled
  • Loading branch information
artscout committed Aug 18, 2022
1 parent b7a8e6c commit 1359ec0
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions portals.lua
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,9 @@ local function ShowHearthstone()

local j = 0
if PortalsDB.showHSItems then
for j = 1, #heartstones do
if hasItem(heartstones[j]) then
name, _, quality, _, _, _, _, _, _, icon = GetItemInfo(heartstones[j])
for i = 1, #heartstones do
if hasItem(heartstones[i]) then
name, _, quality, _, _, _, _, _, _, icon = GetItemInfo(heartstones[i])
secure = {
type = 'item',
item = name
Expand All @@ -391,15 +391,14 @@ local function ShowHearthstone()
'icon', tostring(icon),
'func', function() UpdateIcon(icon) end,
'closeWhenClicked', true)
j = j + 1
j = i
end
end
dewdrop:AddLine()
end
if j > 0 then
if j < 1 then
dewdrop:AddLine()
end

end

local function ShowOtherItems()
Expand Down

0 comments on commit 1359ec0

Please sign in to comment.