Mercurial > wow > inventory
diff Core.lua @ 89:a12d22ef3f39
AceSerializer has been enabled again as it?s used when exporting/importing groups. All other unused libraries are now really removed.
Adjusted debug function to format only when a debug channel is available.
Fixed moving from guild banks, checking if items are locked is different then with banks.
Now unregistering the item locking event so it doesn?t continue to try to move every time an item is switched after the automated cycle has finished. (geeezus, this description is a total overkill)
Fixed item queueing.
Queue all when there?s a group without any items inside no longer crashes.
Removing cached container data after closing a container.
author | Zerotorescue |
---|---|
date | Fri, 07 Jan 2011 22:19:03 +0100 |
parents | 3bec0ea44607 |
children | 31493364b163 |
line wrap: on
line diff
--- a/Core.lua Fri Jan 07 10:34:38 2011 +0100 +++ b/Core.lua Fri Jan 07 22:19:03 2011 +0100 @@ -19,8 +19,6 @@ addon.supportedAddons.crafting = {}; function addon:OnInitialize() - self:Debug("OnInitialize"); - -- SAVED VARIABLES local defaults = { @@ -449,7 +447,7 @@ -- Debug -function addon:Debug(t) +function addon:Debug(t, ...) if not self.debugChannel and self.debugChannel ~= false then -- We want to check just once, so if you add a debug channel later just do a /reload (registering an event for this is wasted resources) self.debugChannel = false; @@ -464,6 +462,6 @@ end if self.debugChannel then - self.debugChannel:AddMessage(t); + self.debugChannel:AddMessage(t:format(...)); end end