File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 7777
7878function PlexusAltPower :Plexus_UnitJoined (_ , _ , unitid )
7979 if not PlexusAltPower .db .profile .unit_altpower .enable then return end
80- local unitGUID = UnitGUID (unitid )
8180 if not unitid then return end
81+ local unitGUID = UnitGUID (unitid )
8282 if (UnitIsPlayer (unitid ) or (Plexus :IsRetailWow () and UnitInPartyIsAI (unitid ))) then
8383 self :UpdateUnitResource (unitid )
8484 else
Original file line number Diff line number Diff line change 369369
370370function PlexusStatusResource :Plexus_UnitJoined (_ , _ , unitid )
371371 local NoPets = PlexusStatusResource .db .profile .NoPets
372- local unitGUID = UnitGUID (unitid )
373372 if not unitid then return end
373+ local unitGUID = UnitGUID (unitid )
374374 if (NoPets and not (UnitIsPlayer (unitid ) or (Plexus :IsRetailWow () and UnitInPartyIsAI (unitid ))) ) then
375375 self .core :SendStatusLost (unitGUID , " unit_resource" )
376376 else
You can’t perform that action at this time.
0 commit comments