Skip to content

Commit 40bf859

Browse files
committed
Use compat UnitAura and remove LibTalentQuery.
1 parent 17b7fc9 commit 40bf859

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.pkgmeta

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ externals:
1818
Libs/MagicComm: https://github.com/neotron/WoW-MagicComm.git
1919
Libs/LibMagicUtil-1.0: https://github.com/neotron/WoW-libMagicUtil.git
2020
Libs/LibLogger: https://github.com/neotron/WoW-LibLogger.git
21-
Libs/LibTalentQuery-1.0: https://repos.wowace.com/wow/libtalentquery-1-0/trunk
2221

2322
# Disabled for now, doesn't work
23+
# Libs/LibTalentQuery-1.0: https://repos.wowace.com/wow/libtalentquery-1-0/trunk
2424
# Libs/LibGroupTalents-1.0: https://repos.wowace.com/wow/libgrouptalents-1-0/mainline/trunk

MagicTargets.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ local DBOpt = LibStub("AceDBOptions-3.0")
4040
local media = LibStub("LibSharedMedia-3.0")
4141
local mod = MagicTargets
4242
local comm = LibStub("MagicComm-1.0")
43-
local UnitAura = UnitAura
4443
local CreateFrame = CreateFrame
4544
local GetInventoryItemLink = GetInventoryItemLink
4645
local GetItemInfo = GetItemInfo
@@ -402,7 +401,7 @@ do
402401
return unitTanks[name]
403402
else
404403
for idx = 1, 40 do
405-
local aura = UnitAura(unit, idx, "HELPFUL")
404+
local aura = mod.UnitAura(unit, idx, "HELPFUL")
406405
if not aura then
407406
break
408407
end

embeds.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
<Include file="Libs\AceGUI-3.0-SharedMediaWidgets\widget.xml"/>
1919
<Include file="Libs\LibMagicUtil-1.0\LibMagicUtil-1.0\lib.xml"/>
2020
<Include file="Libs\MagicComm\MagicComm\lib.xml"/>
21-
<Include file="Libs\LibTalentQuery-1.0\lib.xml"/>
21+
<!-- Include file="Libs\LibTalentQuery-1.0\lib.xml"/ -->
2222
<!-- Include file="Libs\LibGroupTalents-1.0\LibGroupTalents-1.0.lua"/ -->
2323
</Ui>

0 commit comments

Comments
 (0)