diff Modules/Events.lua @ 24:554b30908b33 v0.1

- Fixed a bug with the mail where items get recorded by the mail scanner and the bag scanner. - Fixed some minor issues not visible to the user.
author Asa Ayers <Asa.Ayers@Gmail.com>
date Sun, 11 Jul 2010 09:24:33 -0700
parents 819bfdc5d73c
children 75d917ccd942
line wrap: on
line diff
--- a/Modules/Events.lua	Thu Jul 08 23:55:05 2010 -0700
+++ b/Modules/Events.lua	Sun Jul 11 09:24:33 2010 -0700
@@ -6,6 +6,7 @@
 function addon:PLAYER_ENTERING_WORLD()
 	self:RegisterEvent("MAIL_SHOW")
 	self:RegisterEvent("UNIT_SPELLCAST_START")
+	addon:UpdateCurrentInventory()
 	self:WatchBags()
 	
 	-- addon:ConvertItems()
@@ -13,6 +14,7 @@
  
  function addon:MAIL_SHOW()
 	self:Debug("MAIL_SHOW")
+	addon:UpdateCurrentInventory()
 	self.lastMailScan = self:ScanMail()
 	
 	self:UnregisterEvent("MAIL_SHOW")