From 8707a99d430fd8928f8170162087cff61a324525 Mon Sep 17 00:00:00 2001 From: AkiVer Date: Sat, 11 Jun 2022 09:53:01 +0200 Subject: [PATCH] fix(analyze): ignore possible null chat message sender --- Services/Concrete/Analyzer/DemoAnalyzer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/Concrete/Analyzer/DemoAnalyzer.cs b/Services/Concrete/Analyzer/DemoAnalyzer.cs index fb06fad86..c57c5deea 100644 --- a/Services/Concrete/Analyzer/DemoAnalyzer.cs +++ b/Services/Concrete/Analyzer/DemoAnalyzer.cs @@ -1512,7 +1512,7 @@ protected void HandlePlayerTeam(object sender, PlayerTeamEventArgs e) protected void HandleSayText2(object sender, SayText2EventArgs e) { - if (sender == null) + if (e.Sender == null) { return; }