From 40afbe4f93c51e89c1741be3f3814ee58a8247b5 Mon Sep 17 00:00:00 2001 From: atomaka Date: Sat, 6 Aug 2011 19:41:16 -0400 Subject: [PATCH] Adjust pattern to also match the German language string. --- GemStacker.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GemStacker.lua b/GemStacker.lua index 17e9ee6..0f2800a 100644 --- a/GemStacker.lua +++ b/GemStacker.lua @@ -12,7 +12,7 @@ function core:OnEnable() end 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 self:RegisterEvent('ITEM_PUSH','StackGems')