Skip to content

Commit

Permalink
Fixed keylink parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Dec 9, 2020
1 parent 39e0aa7 commit f8989d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion REKeys.lua
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,8 @@ function RE:GetKeystoneLink()
for bag = 0, _G.NUM_BAG_SLOTS do
local bagSlots = GetContainerNumSlots(bag)
for slot = 1, bagSlots do
if IsItemKeystoneByID(GetContainerItemID(bag, slot)) then
local itemID = GetContainerItemID(bag, slot)
if itemID and IsItemKeystoneByID(itemID) then
keyLink = GetContainerItemLink(bag, slot)
break
end
Expand Down
2 changes: 1 addition & 1 deletion REKeys.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Interface: 90002
## Title: |cFF74D06CRE|rKeys
## Notes: Collect information about keystones owned by your friends.
## Version: 1.8.4
## Version: 1.8.5
## Author: AcidWeb
## SavedVariables: REKeysDB, REKeysSettings
## X-Website: https://www.curseforge.com/wow/addons/rekeys-keystone-manager
Expand Down

0 comments on commit f8989d5

Please sign in to comment.