From 4ad7dc4a739243ad56b7e442c5856e235c8049e9 Mon Sep 17 00:00:00 2001 From: mike Date: Sun, 31 Oct 2010 10:41:35 -0400 Subject: [PATCH] Fixed issue where the unknown recipes of your professions wasn't showing in a unit's tooltip. --- core.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.lua b/core.lua index 85f1bb8..dc55efa 100644 --- a/core.lua +++ b/core.lua @@ -569,7 +569,7 @@ function addon:OnInitialize() if not guid then return end - local GUID = tonumber(string.sub(guid, 8, 12), 16) + local GUID = tonumber(string.sub(guid, -12, -9), 16) local unit = private.mob_list[GUID] or private.vendor_list[GUID] or private.trainer_list[GUID] if not unit or not unit.item_list then -- 1.7.9.5