From 71fdc829a194e69ecfa207fa6b1cfe4089b20aec Mon Sep 17 00:00:00 2001 From: JustArchi Date: Wed, 20 Nov 2019 17:59:24 +0100 Subject: [PATCH] Misc --- ArchiSteamFarm/Bot.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index 4f60f4760..eaf17412e 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -457,6 +457,8 @@ namespace ArchiSteamFarm { public void SetUserInput(ASF.EUserInputType inputType, string inputValue) { if ((inputType == ASF.EUserInputType.Unknown) || !Enum.IsDefined(typeof(ASF.EUserInputType), inputValue) || string.IsNullOrEmpty(inputValue)) { ArchiLogger.LogNullError(nameof(inputType) + " || " + nameof(inputValue)); + + return; } // This switch should cover ONLY bot properties