diff --git a/Peeping Tom/PluginUI.cs b/Peeping Tom/PluginUI.cs index 4f7dfc5..0423f1e 100644 --- a/Peeping Tom/PluginUI.cs +++ b/Peeping Tom/PluginUI.cs @@ -500,7 +500,7 @@ namespace PeepingTom { return this.pi.ClientState.Actors .Where(actor => actor.TargetActorID == player.ActorId && actor is PlayerCharacter) .Select(actor => actor as PlayerCharacter) - .Where(actor => this.config.LogParty || this.pi.ClientState.PartyList.All(member => member.Actor.ActorId != actor.ActorId)) + .Where(actor => this.config.LogParty || this.pi.ClientState.PartyList.All(member => member.Actor?.ActorId != actor.ActorId)) .Where(actor => this.config.LogAlliance || !this.InAlliance(actor)) .Where(actor => this.config.LogInCombat || !this.InCombat(actor)) .ToArray();