Zidras / ElvUI_ProjectZidras

Plugin for ElvUI (3.3.5a) - new features and various improvements
21 stars 6 forks source link

Error in PoS tunnel #19

Closed napnapnapnap closed 2 years ago

napnapnapnap commented 2 years ago
Message: ...rojectZidras\Modules\Nameplates\Elements\CastBar.lua:51: Usage: UnitReaction("unit", "otherUnit")
Time: 10/09/22 11:16:56
Count: 1
Stack: (tail call): ?
[C]: ?
[C]: in function `UnitReaction'
...rojectZidras\Modules\Nameplates\Elements\CastBar.lua:51: in function <...rojectZidras\Modules\Nameplates\Elements\CastBar.lua:23>
...rojectZidras\Modules\Nameplates\Elements\CastBar.lua:215: in function `Update_CastBarName'
...rojectZidras\Modules\Nameplates\Elements\CastBar.lua:186: in function `Update_CastBar'
...lvUI_ProjectZidras\Modules\Nameplates\Nameplates.lua:200: in function <...lvUI_ProjectZidras\Modules\Nameplates\Nameplates.lua:198>

Locals: (*temporary) = "UNIT_SPELLCAST_CHANNEL_START"
(*temporary) = "party2"
(*temporary) = "Rain of Fire"
(*temporary) = "Rank 7"
(*temporary) = 0
(*temporary) = "UNIT_SPELLCAST_CHANNEL_START"
(*temporary) = "party2"
(*temporary) = "Rain of Fire"
(*temporary) = "Rank 7"
(*temporary) = 0
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = <function> defined =[C]:-1

the error popped, I don't know why.

The PZ version is 2.1 on 6.08 elvui

Zidras commented 2 years ago

During, after? Went back to back and couldn't get to repro this, nor can I tell from the error trace which of the args failed

napnapnapnap commented 2 years ago

hmm at the end, we pulled 6-7 mobs I think. Yeah first time seeing it too, I just updated the HD version trough qbitorrent but I don't think it's relevant.

Zidras commented 2 years ago

I couldn't repro it, but hopefully the code is now a bit more errorproof