Skip to content

Commit

Permalink
Fixed issue with link format
Browse files Browse the repository at this point in the history
- Bumped addon version to match internal const
  • Loading branch information
imevul committed May 19, 2024
1 parent efb6e79 commit 1f04cac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local SYNASTRIACORELIB_MAJOR, SYNASTRIACORELIB_MINOR = 'SynastriaCoreLib-1.0', 9
local SYNASTRIACORELIB_MAJOR, SYNASTRIACORELIB_MINOR = 'SynastriaCoreLib-1.0', 10
local SynastriaCoreLib, oldminor = LibStub:NewLibrary(SYNASTRIACORELIB_MAJOR, SYNASTRIACORELIB_MINOR)

if not SynastriaCoreLib then return end -- No upgrade needed
Expand Down Expand Up @@ -230,6 +230,7 @@ function SynastriaCoreLib.parseItemIdAndLink(itemIdOrLink, suffixId)
if type(itemIdOrLink) == 'number' then
return itemIdOrLink, SynastriaCoreLib.generateItemLink(itemIdOrLink, suffixId)
elseif type(itemIdOrLink) == 'string' then
if itemIdOrLink:find('item:') == 1 then itemIdOrLink = '|H' .. itemIdOrLink end
return SynastriaCoreLib.parseItemId(itemIdOrLink, 0), itemIdOrLink
end

Expand Down
2 changes: 1 addition & 1 deletion src/SynastriaCoreLib/SynastriaCoreLib.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Title: SynastriaCoreLib-1.0
## Notes: A library of functions from Synastria
## Author: Imevul, meh321
## Version: 1.0.8-Release
## Version: 1.0.10-Release
## X-Category: Imevul

#@no-lib-strip@
Expand Down

0 comments on commit 1f04cac

Please sign in to comment.