From bbd7b2995986bf8bebd2e5745e3fb01fb8355420 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Tue, 18 Oct 2022 09:38:54 -0500 Subject: [PATCH] hide annoying warning --- Plugins/Stats/Helpers/StatManager.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Plugins/Stats/Helpers/StatManager.cs b/Plugins/Stats/Helpers/StatManager.cs index 140998b6..ef87be34 100644 --- a/Plugins/Stats/Helpers/StatManager.cs +++ b/Plugins/Stats/Helpers/StatManager.cs @@ -856,7 +856,9 @@ namespace IW4MAdmin.Plugins.Stats.Helpers private bool ShouldUseDetection(Server server, DetectionType detectionType, long clientId) { +#pragma warning disable CS0612 var serverDetectionTypes = Plugin.Config.Configuration().AnticheatConfiguration.ServerDetectionTypes; +#pragma warning restore CS0612 var gameDetectionTypes = Plugin.Config.Configuration().AnticheatConfiguration.GameDetectionTypes; var ignoredClients = Plugin.Config.Configuration().AnticheatConfiguration.IgnoredClientIds;