Twintop's Resource Bar

Twintop's Resource Bar

670k Downloads

/ClassModules/Priest.lua:1935: bad argument #2 to 'format' (number expected, got nil)

JH0Ni-github opened this issue ยท 4 comments

commented

Version: 11.0.2.0-release
Getting this on about every frame until I disable the shadow priest plugin:

1009x ...ceTwintopInsanityBar/ClassModules/Priest.lua:1935: bad argument #2 to 'format' (number expected, got nil)
[string "=[C]"]: in function `format'
[string "@TwintopInsanityBar/ClassModules/Priest.lua"]:1935: in function `RefreshLookupData'
[string "@TwintopInsanityBar/Functions/BarText.lua"]:869: in function `UpdateResourceBarText'
[string "@TwintopInsanityBar/ClassModules/Priest.lua"]:3685: in function <...ceTwintopInsanityBar/ClassModules/Priest.lua:2678>
[string "@TwintopInsanityBar/ClassModules/Priest.lua"]:5112: in function `TriggerResourceBarUpdates'
[string "@TwintopInsanityBar/Init.lua"]:226: in function `onUpdate'
[string "@TwintopInsanityBar/ClassModules/Priest.lua"]:4483: in function <...ceTwintopInsanityBar/ClassModules/Priest.lua:4483>

Locals:
(*temporary) = "%.0f"
(*temporary) = nil
(*temporary) = "number expected, got nil"
commented

Having a look, thanks for the report!

commented

I've found the source of the problem @JH0Ni-github -- I'm guessing you have "Track Shadowfiend/Mindbender Insanity Gain" unchecked.

11.0.2.1-release coming out shortly with a fix. Sorry about that!

commented

I'm guessing you have "Track Shadowfiend/Mindbender Insanity Gain" unchecked.

Yeah seems like checking it gets rid of the errors. Thanks for the quick fix!

commented

Fix should be on Curse/Wago/WowI