Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix addon for latest Era patch #152

Merged
merged 1 commit into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vscode
2 changes: 1 addition & 1 deletion Libraries/MC2ItemStatsLib/MC2ItemStatsLib.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function Addon.ItemStatsLib._Stats:setToBagItem(bag, slot)
local stats = Addon.TooltipLib:StatsForBagItem(bag, slot)
self:setTooltipStats(stats)

local link = GetContainerItemLink(bag, slot)
local link = C_Container.GetContainerItemLink(bag, slot)
self:setInfoFromLink(link)
end

Expand Down
24 changes: 0 additions & 24 deletions Libraries/Vanilla-C_Container.lua

This file was deleted.

8 changes: 0 additions & 8 deletions Libraries/Vanilla-C_Minimap.lua

This file was deleted.

2 changes: 1 addition & 1 deletion OutfitterBar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ function Outfitter.OutfitBar:GetCursorTexture()
local vItemLink = C_Container.GetContainerItemLink(vBagIndex, vBagSlotIndex)

if vItemLink == vParam2 then
local itemInfo = C_Containeer.GetContainerItemInfo(vBagIndex, vBagSlotIndex)
local itemInfo = C_Container.GetContainerItemInfo(vBagIndex, vBagSlotIndex)
local vTexture = itemInfo.iconFileID

return vTexture
Expand Down
3 changes: 2 additions & 1 deletion OutfitterInventory.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ function Outfitter:FindNextCooldownItem(pItemCodes, pIgnoreSwapCooldown)
local vStart, vDuration, vEnabled

if vItemInfo.Location.BagIndex then
vStart, vDuration, vEnabled = GetContainerItemCooldown(vItemInfo.Location.BagIndex, vItemInfo.Location.BagSlotIndex)
vStart, vDuration, vEnabled = C_Container.GetContainerItemCooldown(vItemInfo.Location.BagIndex,
vItemInfo.Location.BagSlotIndex)
elseif vItemInfo.Location.SlotID then
vStart, vDuration, vEnabled = GetInventoryItemCooldown("player", vItemInfo.Location.SlotID)
end
Expand Down
2 changes: 1 addition & 1 deletion OutfitterOutfits.lua
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ end
function Outfitter:DumpEMOutfitLocations(pName)
local equipmentSetID = C_EquipmentSet.GetEquipmentSetID(pName)
local vLocations = C_EquipmentSet.GetItemLocations(equipmentSetID)
local vIgnoreSlots = GetEquipmentSetIgnoreSlots(pName)
local vIgnoreSlots = C_EquipmentSet.GetIgnoredSlots(pName)
self:DebugTable(vLocations, "Locations")
self:DebugTable(vIgnoreSlots, "IgnoreSlots")

Expand Down