Update to 4.0
p3lim [09-23-10 - 17:57]
diff --git a/Broker_Equipment.lua b/Broker_Equipment.lua
index 7208742..44ae141 100644
--- a/Broker_Equipment.lua
+++ b/Broker_Equipment.lua
@@ -123,7 +123,6 @@ function addon:PLAYER_LOGIN()
self.info = {}
self.displayMode = 'MENU'
self:RegisterEvent('UNIT_INVENTORY_CHANGED')
- self:RegisterEvent('VARIABLES_LOADED')
self:UNIT_INVENTORY_CHANGED()
end
@@ -154,15 +153,5 @@ function addon:PLAYER_REGEN_ENABLED(event)
pending = {}
end
-function addon:VARIABLES_LOADED(event)
- SetCVar('equipmentManager', 1)
- GearManagerToggleButton:Show()
- self:UnregisterEvent(event)
-end
-
addon:SetScript('OnEvent', function(self, event, ...) self[event](self, event, ...) end)
-if(IsAddOnLoaded('AddonLoader')) then
- addon:PLAYER_LOGIN()
-else
- addon:RegisterEvent('PLAYER_LOGIN')
-end
+addon:RegisterEvent('PLAYER_LOGIN')
diff --git a/Broker_Equipment.toc b/Broker_Equipment.toc
index 418108e..641f304 100644
--- a/Broker_Equipment.toc
+++ b/Broker_Equipment.toc
@@ -1,12 +1,9 @@
-## Interface: 30300
+## Interface: 40000
## Author: p3lim
-## Version: 30300.10-Release
+## Version: Alpha
## Title: Broker Equipment
## Notes: LDB Equipment Manager plug-in
-## LoadManagers: AddonLoader
-## X-LoadOn-Always: delayed
-
libs\LibStub.lua
libs\CallbackHandler-1.0.lua
libs\LibDataBroker-1.1.lua