An error occured
zeroagd opened this issue ยท 4 comments
An error found when I tried to set "Scale Spotlight Mode" in Scale to "On Low-Health Units.
...ce\AddOns\TidyPlatesContinuedHub\functions\Scale.lua:27: attempt to perform arithmetic on field 'health' (a nil value)
Count: 6
Call Stack:
[C]: ?
...ce\AddOns\TidyPlatesContinuedHub\functions\Scale.lua:27: in function func' ...ce\AddOns\TidyPlatesContinuedHub\functions\Scale.lua:148: in function
SetScale'
...erface\AddOns\TidyPlatesContinued\TidyPlatesCore.lua:87: in function <...erface\AddOns\TidyPlatesContinued\TidyPlatesCore.lua:86>
...erface\AddOns\TidyPlatesContinued\TidyPlatesCore.lua:460: in function functionToRun' ...erface\AddOns\TidyPlatesContinued\TidyPlatesCore.lua:129: in function <...erface\AddOns\TidyPlatesContinued\TidyPlatesCore.lua:126> ...erface\AddOns\TidyPlatesContinued\TidyPlatesCore.lua:1254: in function
ForceUpdate'
...ace\AddOns\TidyPlatesContinuedWidgets\AuraWidget.lua:611: in function UseSquareDebuffIcon' ...ace\AddOns\TidyPlatesContinuedHub\functions\Core.lua:152: in function <...ace\AddOns\TidyPlatesContinuedHub\functions\Core.lua:151> ...ace\AddOns\TidyPlatesContinuedHub\functions\Core.lua:247: in function
ApplyProfileSettings'
Interface\AddOns\TidyPlatesContinuedHub\Helpers.lua:16: in function <Interface\AddOns\TidyPlatesContinuedHub\Helpers.lua:6>
Interface\AddOns\TidyPlatesContinuedHub\Hub.lua:512: in function RefreshSettings' ...nterface\AddOns\TidyPlatesContinuedHub\Templates.lua:384: in function <...nterface\AddOns\TidyPlatesContinuedHub\Templates.lua:381> ...nterface\AddOns\TidyPlatesContinuedHub\Templates.lua:554: in function
Callback'
...nterface\AddOns\TidyPlatesContinuedHub\Templates.lua:169: in function `OnValueChanged'
...ace\AddOns\TidyPlatesContinued\TidyPlatesUtility.lua:738: in function <...ace\AddOns\TidyPlatesContinued\TidyPlatesUtility.lua:733>
Thanks for reporting this, must have been in there for a while.
It should be fixed in this version.
Seems like someone made, essentially, a typo at some point and this function actually did nothing. Seems to work correctly now in the latest release.