ShestakUI (Classic)

ShestakUI (Classic)

33.7k Downloads

[BUG] LUA warnings when enabling absorbs value on player frame

Opened this issue ยท 2 comments

commented

What steps will reproduce the problem?

Enabling "Unit Frames -> Advanced -> Absorbs value on player frame" causes LUA warnings upon UI load/reload.

What version of ShestakUI are you using? (Stating 'latest' is not useful)

7ca6264

Do you have an error log of what happened?

LUA Warning 1

Message: ...nterface\AddOns\ShestakUI\Libs\oUF\Elements\Tags.lua:550: Attempt to register unknown event "UNIT_ABSORB_AMOUNT_CHANGED"
Time: Sun Aug 25 23:41:15 2019
Count: 1
Stack: ...nterface\AddOns\ShestakUI\Libs\oUF\Elements\Tags.lua:550: Attempt to register unknown event "UNIT_ABSORB_AMOUNT_CHANGED"
[C]: in function RegisterEvent' ...nterface\AddOns\ShestakUI\Libs\oUF\Elements\Tags.lua:550: in function <...nterface\AddOns\ShestakUI\Libs\oUF\Elements\Tags.lua:547> ...nterface\AddOns\ShestakUI\Libs\oUF\Elements\Tags.lua:560: in function <...nterface\AddOns\ShestakUI\Libs\oUF\Elements\Tags.lua:554> ...nterface\AddOns\ShestakUI\Libs\oUF\Elements\Tags.lua:756: in function Tag'
...rface\AddOns\ShestakUI\Modules\UnitFrames\Layout.lua:633: in function styleFunc' Interface\AddOns\ShestakUI\Libs\oUF\oUF.lua:334: in function <Interface\AddOns\ShestakUI\Libs\oUF\oUF.lua:261> (tail call): ? Interface\AddOns\ShestakUI\Libs\oUF\oUF.lua:740: in function Spawn'
...rface\AddOns\ShestakUI\Modules\UnitFrames\Layout.lua:1236: in main chunk
Locals: (*temporary) = {
0 =
}
(*temporary) = "UNIT_ABSORB_AMOUNT_CHANGED"

LUA Warning 2

Message: Interface\AddOns\ShestakUI\Modules\Auras\Filger.lua:10: P_PROC_ICON_Anchor:SetPoint(): Couldn't find region named 'oUF_Target'
Time: Sun Aug 25 23:41:15 2019
Count: 1
Stack: Interface\AddOns\ShestakUI\Modules\Auras\Filger.lua:10: P_PROC_ICON_Anchor:SetPoint(): Couldn't find region named 'oUF_Target'
[C]: in function `SetPoint'
Interface\AddOns\ShestakUI\Modules\Auras\Filger.lua:10: in main chunk
Locals: (*temporary) = P_PROC_ICON_Anchor {
0 =
}
(*temporary) = "BOTTOMLEFT"
(*temporary) = "oUF_Target"
(*temporary) = "TOPLEFT"
(*temporary) = -2
(*temporary) = 173

LUA Warning 3

Message: (null)
Time: Sun Aug 25 23:41:16 2019
Count: 8

commented

Pushed a fix for this and #33. Please let me know if it persists.

commented

No more LUA warnings. Requesting closure of #32.