NeatPlates

NeatPlates

7M Downloads

An error occured

zeroagd opened this issue ยท 4 comments

commented

An error found when I tried to set "Scale Spotlight Mode" in Scale to "On Low-Health Units.
wowscrnshot_110918_201318


...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>

commented

Thanks for reporting this, must have been in there for a while.

It should be fixed in this version.

commented

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.

commented

Thanks for your reply.
There is another problem. The option "Scale Spotlight Mode" option seems to have no effect. I don't know if it was set up wrong.
wowscrnshot_111018_001504

commented

It works now. Thank you very much.