Mercurial > wow > inventory
comparison Modules/Mover.lua @ 166:84e38318f569
The mover now uses the BAG_UPDATE event instead of ITEM_LOCK_CHANGED when moving out of the guild bank.
author | Zerotorescue |
---|---|
date | Tue, 25 Jan 2011 08:47:47 +0100 |
parents | 6724bc8eface |
children | 678fded0b898 |
comparison
equal
deleted
inserted
replaced
165:df692a83a685 | 166:84e38318f569 |
---|---|
33 end, | 33 end, |
34 PickupItem = SplitGuildBankItem, | 34 PickupItem = SplitGuildBankItem, |
35 IsLocked = function(sourceContainer, sourceSlot) | 35 IsLocked = function(sourceContainer, sourceSlot) |
36 return select(3, GetGuildBankItemInfo(sourceContainer, sourceSlot)); | 36 return select(3, GetGuildBankItemInfo(sourceContainer, sourceSlot)); |
37 end, | 37 end, |
38 Event = "ITEM_LOCK_CHANGED", | 38 Event = "BAG_UPDATE", |
39 }, | 39 }, |
40 [addon.Locations.Mailbox] = { | 40 [addon.Locations.Mailbox] = { |
41 GetItemId = function(mailIndex, attachmentId) | 41 GetItemId = function(mailIndex, attachmentId) |
42 return addon:GetItemId(GetInboxItemLink(mailIndex, attachmentId)); | 42 return addon:GetItemId(GetInboxItemLink(mailIndex, attachmentId)); |
43 end, | 43 end, |