PallyPower

PallyPower

8M Downloads

SoD setting individual buffs

ProKlutch opened this issue ยท 1 comments

commented

Message: Interface/AddOns/PallyPower/PallyPower.lua:1183: bad argument #1 to 'pairs' (table expected, got nil)
Time: Wed Feb 28 09:44:35 2024
Count: 1
Stack: Interface/AddOns/PallyPower/PallyPower.lua:1183: bad argument #1 to 'pairs' (table expected, got nil)
[string "=[C]"]: in function pairs' [string "@Interface/AddOns/PallyPower/PallyPower.lua"]:1183: in function CanBuffBlessing'
[string "@Interface/AddOns/PallyPower/PallyPower.lua"]:467: in function PallyPowerGrid_NormalBlessingMenu' [string "@Interface/AddOns/PallyPower/PallyPower.lua"]:518: in function PallyPowerPlayerButton_OnClick'
[string "*PallyPower_Vanilla.xml:590_OnClick"]:1: in function <[string "*PallyPower_Vanilla.xml:590_OnClick"]:1>

Locals: (*temporary) = nil
(*temporary) = "table expected, got nil"
= defined =[C]:-1

On SoD addition of Horn or Lordaeron to the spells table causes a null reference when iterating through CanBuffBlessing due to the lack of Horn having an index in the spell ranks table when trying to set individual buffs via left clicking the player name in the assignments window.

commented

This is how I was getting around the issue myself. Tested the new version and was able to do individual assignments solo, in party, and in raids. Thanks.