View Single Post
02/26/19, 08:43 PM   #8
BSKCorp
AddOn Author - Click to view addons
Join Date: Sep 2017
Posts: 12
I have gotten into and already have the auto completion but the wiki needs updating I think. I am doing the Combat tutorial and in
AddontestIndicator:SetHidden(not inCombat) line it throws a error in game,

EDIT - I found the error and in the XML had FooaddonIndicator not Addontest T_T

user:/AddOns/AddonTest/Addontest.lua:15: attempt to index a nil value
stack traceback:
user:/AddOns/AddonTest/Addontest.lua:15: in function 'Addontest.OnPlayerCombatState'
<Locals> event = 131430, inCombat = true </Locals>

user:/AddOns/AddonTest/Addontest.lua:15: attempt to index a nil value
stack traceback:
user:/AddOns/AddonTest/Addontest.lua:15: in function 'Addontest.OnPlayerCombatState'
<Locals> event = 131430, inCombat = false </Locals>

Last edited by BSKCorp : 02/26/19 at 09:03 PM.
  Reply With Quote