Adjust pattern to also match the German language string.
This commit is contained in:
parent
ce0420e143
commit
40afbe4f93
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ function core:OnEnable()
|
||||||
end
|
end
|
||||||
|
|
||||||
function core:TrackGems(_,message)
|
function core:TrackGems(_,message)
|
||||||
lastGem = message:match(TRADESKILL_LOG_FIRSTPERSON:gsub("%%s", "(.+)"))
|
lastGem = message:match(TRADESKILL_LOG_FIRSTPERSON:gsub("%%%S-s", "(.+)"))
|
||||||
if lastGem == nil or lastGem == "" then return end
|
if lastGem == nil or lastGem == "" then return end
|
||||||
|
|
||||||
self:RegisterEvent('ITEM_PUSH','StackGems')
|
self:RegisterEvent('ITEM_PUSH','StackGems')
|
||||||
|
|
Loading…
Reference in a new issue