Mercurial > wow > reaction
diff modules/PetAction.lua @ 223:c4b134512c50
Move RegisterBarType from modules to button classes
author | Flick <flickerstreak@gmail.com> |
---|---|
date | Mon, 22 Nov 2010 10:25:18 -0800 |
parents | d08a74e86c96 |
children | 0e20f65375d5 |
line wrap: on
line diff
--- a/modules/PetAction.lua Sun Nov 21 14:42:38 2010 -0800 +++ b/modules/PetAction.lua Mon Nov 22 10:25:18 2010 -0800 @@ -44,14 +44,6 @@ ReAction.RegisterCallback(self, "OnRefreshBar") end -function module:OnEnable() - ReAction:RegisterBarType(Button) -end - -function module:OnDisable() - ReAction:UnregisterBarType(Button) -end - function module:OnCreateBar(event, bar, name) if bar.config.type == moduleID then -- auto show/hide when pet exists