File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -222,8 +222,8 @@ function KT.Events.COMBAT_LOG_EVENT_UNFILTERED(self)
222222
223223 -- Perform solo/group checks
224224 local d_id = KTT :GUIDToID (d_guid )
225- local firstDamage = FirstDamage [d_guid ] or " <No One> "
226- local lastDamage = LastDamage [d_guid ] or " <No One> "
225+ local firstDamage = FirstDamage [d_guid ]
226+ local lastDamage = LastDamage [d_guid ]
227227 local firstByPlayer = firstDamage == self .PlayerGUID or firstDamage == UnitGUID (" pet" )
228228 local firstByGroup = self :IsInGroup (firstDamage )
229229 local lastByPlayer = lastDamage == self .PlayerGUID or lastDamage == UnitGUID (" pet" )
@@ -333,9 +333,9 @@ function KT:ToggleDebug()
333333end
334334
335335function KT :IsInGroup (unit )
336+ if not unit then return false end
336337 if unit == self .PlayerName or unit == self .PlayerGUID then return true end
337- if IsGUIDInGroup (unit ) then return true end
338- return false
338+ return IsGUIDInGroup (unit )
339339end
340340
341341function KT :SetThreshold (threshold )
You can’t perform that action at this time.
0 commit comments