mirror of
https://github.com/parnic/breakables.git
synced 2025-06-17 01:41:51 -05:00
Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
d69da1a7d5
|
|||
55c73b3505
|
|||
fcd5d6d1f9
|
|||
c39996022e
|
|||
6c3f3e93e6
|
|||
e84b834139
|
@ -13,10 +13,30 @@ if not IsArtifactRelicItem then
|
||||
end
|
||||
end
|
||||
if C_Container then
|
||||
GetBagName = C_Container.GetBagName
|
||||
GetContainerNumSlots = C_Container.GetContainerNumSlots
|
||||
GetContainerItemInfo = C_Container.GetContainerItemInfo
|
||||
GetContainerItemLink = C_Container.GetContainerItemLink
|
||||
if C_Container.GetBagName then
|
||||
GetBagName = C_Container.GetBagName
|
||||
end
|
||||
if C_Container.GetContainerNumSlots then
|
||||
GetContainerNumSlots = C_Container.GetContainerNumSlots
|
||||
end
|
||||
if C_Container.GetContainerItemInfo then
|
||||
GetContainerItemInfo = function(bagId, slotId)
|
||||
local info = C_Container.GetContainerItemInfo(bagId, slotId)
|
||||
if not info then
|
||||
return nil
|
||||
end
|
||||
|
||||
return info.iconFileID, info.stackCount
|
||||
end
|
||||
end
|
||||
if C_Container.GetContainerItemLink then
|
||||
GetContainerItemLink = C_Container.GetContainerItemLink
|
||||
end
|
||||
end
|
||||
|
||||
local EQUIPPED_LAST = EQUIPPED_LAST
|
||||
if not EQUIPPED_LAST then
|
||||
EQUIPPED_LAST = INVSLOT_LAST_EQUIPPED
|
||||
end
|
||||
|
||||
local WowVer = select(4, GetBuildInfo())
|
||||
@ -1336,7 +1356,7 @@ function Breakables:FindBreakablesInSlot(bagId, slotId)
|
||||
self.myTooltip:SetOwner(WorldFrame, "ANCHOR_NONE")
|
||||
end
|
||||
|
||||
local texture, itemCount, locked, quality, readable = GetContainerItemInfo(bagId, slotId)
|
||||
local texture, itemCount = GetContainerItemInfo(bagId, slotId)
|
||||
if texture then
|
||||
local itemLink = GetContainerItemLink(bagId, slotId)
|
||||
local itemId = self:GetItemIdFromLink(itemLink)
|
||||
|
@ -1,5 +1,5 @@
|
||||
## Interface: 100000
|
||||
## Interface-Retail: 100000
|
||||
## Interface: 100002
|
||||
## Interface-Retail: 100002
|
||||
## Interface-Classic: 11403
|
||||
## Interface-BCC: 20504
|
||||
## Interface-Wrath: 30400
|
||||
|
@ -1,3 +1,19 @@
|
||||
v1.9.6:
|
||||
|
||||
- Fix lockboxes in 10.0.2
|
||||
|
||||
v1.9.5:
|
||||
|
||||
- Fix another error from 10.0.2
|
||||
|
||||
v1.9.4:
|
||||
|
||||
- Update TOC for 10.0.2
|
||||
|
||||
v1.9.3:
|
||||
|
||||
- Fix error on 10.0.0
|
||||
|
||||
v1.9.2:
|
||||
|
||||
- Dragonflight/10.0.2 compatibility
|
||||
|
Reference in New Issue
Block a user