Skip to content

Commit

Permalink
fix: some item price error
Browse files Browse the repository at this point in the history
  • Loading branch information
DengSir committed Nov 11, 2021
1 parent d5cd853 commit df6bfa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion API.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function ns.ParseItemLink(link)
if not link then
return
end
local itemId, enchantId, suffixId, uniqueId = link:match('item:(%d*):([-%d]*):::::([-%d]*):([-%d]*)')
local itemId, enchantId, suffixId, uniqueId = link:match('item:(%d*):(%-?%d*):%-?%d*:%-?%d*:%-?%d*:%-?%d*:(%-?%d*):(%-?%d*)')
if not itemId then
return
end
Expand Down

0 comments on commit df6bfa3

Please sign in to comment.