nebularg / PitBull4

Woof. Arf. Yip.
https://www.curseforge.com/wow/addons/pitbull-unit-frames-4-0
23 stars 15 forks source link

Error Spam on Retail with 4.2.22 #50

Closed adamsalem closed 1 year ago

adamsalem commented 1 year ago

Having this error on retail with the latest version of the addon:

29010x Interface/AddOns/PitBull4/Modules/Aura/Update.lua:256: attempt to call method 'SetInventoryItem' (a nil value)
[string "@Interface/AddOns/PitBull4/Modules/Aura/Update.lua"]:256: in function <Interface/AddOns/PitBull4/Modules/Aura/Update.lua:251>
[string "@Interface/AddOns/PitBull4/Modules/Aura/Update.lua"]:290: in function <Interface/AddOns/PitBull4/Modules/Aura/Update.lua:274>
[string "@Interface/AddOns/PitBull4/Modules/Aura/Update.lua"]:886: in function `UpdateWeaponEnchants'
[string "@Interface/AddOns/PitBull4/Modules/Aura/Update.lua"]:961: in function `OnUpdate'
[string "@Interface/AddOns/PitBull4/Modules/Aura/Aura.lua"]:21: in function <Interface/AddOns/PitBull4/Modules/Aura/Aura.lua:18>

Locals:
slot = 16
(*temporary) = nil
(*temporary) = PitBull4_Aura_Tooltip {
 0 = <userdata>
}
(*temporary) = "player"
(*temporary) = 16
(*temporary) = "attempt to call method 'SetInventoryItem' (a nil value)"
tt = PitBull4_Aura_Tooltip {
 0 = <userdata>
}
left = <table> {
 1 = FontString {
 }
 2 = FontString {
 }
 3 = FontString {
 }
 4 = FontString {
 }
 5 = FontString {
 }
 6 = FontString {
 }
 7 = FontString {
 }
 8 = FontString {
 }
 9 = FontString {
 }
 10 = FontString {
 }
 11 = FontString {
 }
 12 = FontString {
 }
 13 = FontString {
 }
 14 = FontString {
 }
 15 = FontString {
 }
 16 = FontString {
 }
 17 = FontString {
 }
 18 = FontString {
 }
 19 = FontString {
 }
 20 = FontString {
 }
 21 = FontString {
 }
 22 = FontString {
 }
 23 = FontString {
 }
 24 = FontString {
 }
 25 = FontString {
 }
 26 = FontString {
 }
 27 = FontString {
 }
 28 = FontString {
 }
 29 = FontString {
 }
 30 = FontString {
 }
}
Timour-Khan commented 1 year ago

Disable Aura(s) module until it's fixed.

nebularg commented 1 year ago

Thanks, I didn't think to check using a weapon oil, I'm looking into it

adamsalem commented 1 year ago

Thanks for the fix!