Mercurial > wow > spotlight-hidden-artifact-skin-tracking
changeset 8:a30c29933ebc
Fix for a minor bug that would occur if Spotlight loaded out of order with LDB
author | Vynn <mischivin@gmail.com> |
---|---|
date | Wed, 01 Feb 2017 13:06:22 -0500 |
parents | 8a6367aea7a4 |
children | cbf645630277 |
files | Spotlight.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Spotlight.lua Wed Feb 01 13:05:55 2017 -0500 +++ b/Spotlight.lua Wed Feb 01 13:06:22 2017 -0500 @@ -133,7 +133,7 @@ local function EventHandler(self, event, ...) if event == "VARIABLES_LOADED" then if Initialize() then - print("|T" .. dataobj.icon .. ":0|t |cffe5cc80Spotlight v" .. GetAddOnMetadata("Spotlight", "Version") .. " Loaded!|r") + print("|T" .. GetInventoryItemTexture("player", 16) .. ":0|t |cffe5cc80Spotlight v" .. GetAddOnMetadata("Spotlight", "Version") .. " Loaded!|r") end end if event == "CRITERIA_UPDATE" or "PLAYER_ENTERING_WORLD" then