I figured that but when I do that I get an ouf error. but not a lua error.
Code:
oUF: Error: Style [BobGroup] attempted to register event [UNIT_AURA] on unit [raid] with a handler that doesn't exist.
also if I move all those lines above the shared function I wind up getting this error when I cast Power Word Shield, which should be one of my indicators according to my config unless it's indexing by spell id ad not name now
Code:
10x oUF_Bob-1.1\modules\group-Group.lua:24: attempt to index global "indicators" (a nil value)
oUF_Bob-1.1\modules\group-Group.lua:24: in function <oUF_Bob\modules\group.lua:21>
(tail call): ?
Locals:
(*temporary) = "UNIT_AURA"
(*temporary) = "party1"
(*temporary) = "UNIT_AURA"
(*temporary) = "party1"
(*temporary) = <function> defined =[C]:-1