comparison Main.lua @ 69:27549237b4d8

Record ALL trainers, not just Tradeskill trainers.
author James D. Callahan III <jcallahan@curse.com>
date Mon, 06 Aug 2012 11:32:47 -0500
parents 95b8bf6b6fdb
children 8ff44f76e844
comparison
equal deleted inserted replaced
68:95b8bf6b6fdb 69:27549237b4d8
1152 self:RegisterEvent("QUEST_LOG_UPDATE") 1152 self:RegisterEvent("QUEST_LOG_UPDATE")
1153 end 1153 end
1154 1154
1155 1155
1156 function WDP:TRAINER_SHOW() 1156 function WDP:TRAINER_SHOW()
1157 if not _G.IsTradeskillTrainer() then
1158 return
1159 end
1160 local unit_type, unit_idnum = ParseGUID(_G.UnitGUID("target")) 1157 local unit_type, unit_idnum = ParseGUID(_G.UnitGUID("target"))
1161 local npc = NPCEntry(unit_idnum) 1158 local npc = NPCEntry(unit_idnum)
1162 1159
1163 if not npc then 1160 if not npc then
1164 return 1161 return