DruidMacroHelper

DruidMacroHelper

30k Downloads

Update to 1.1.9 throws LUA Errors

ap0yuv opened this issue ยท 3 comments

commented

No expert in LUA but

Line 160:
if ~UnitExists(unit) then

and Line 165:
if ~IsSpellInRange(L["SPELL_CHARGE"], unit) then

is throwing Error on WoW TBC Startup.

changing ~ to not fixes it for me , cus i suppose thats what the intention of those lines is ?

commented

Correct, as @HxxxxxS already mentioned I noticed and fixed that issue a few hours after the 1.1.9 release with Version 1.2.0
If you still have issues with this feel free to comment.

commented

Same issue for me!

commented

Yep this is some weird bug due to how lua handles types. I guess it is that ~ is oposite boolean but doesnt work with nil. Should be fixed with e81a219