diff Modules/PaperDoll.lua @ 102:1e511e9aaca5

- clean up handler loading inconsistencies; exclude free frames from anchor cluster iterations, and remove extraneous PLAYER_LOGIN handling - added a Setup method to the handler template that creates and reconciles a SavedVariables table for that module
author Nenue
date Wed, 25 Jan 2017 23:11:27 -0500
parents bb38bc0e787f
children 3992b41c637e
line wrap: on
line diff
--- a/Modules/PaperDoll.lua	Sat Jan 21 20:12:17 2017 -0500
+++ b/Modules/PaperDoll.lua	Wed Jan 25 23:11:27 2017 -0500
@@ -62,10 +62,8 @@
     self:GetStats(PaperDollItemsFrame, ...)
   end)
 
-  self:RegisterEvent('ADDON_LOADED')
   self:RegisterEvent('INSPECT_READY')
-
-  self.SocketType = {}
+  Veneer:AddHandler(self)
 end
 
 function VeneerPaperDollMixin:SetupInspectFrame()