From b840e2ae1b8c8826686f8ae771a1ba4b164e44a6 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Sat, 23 Nov 2019 19:40:58 +0100 Subject: [PATCH] Closes #1516 --- ArchiSteamFarm/Bot.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index 27c5a7a23..6e1df5317 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -455,7 +455,7 @@ namespace ArchiSteamFarm { [PublicAPI] public void SetUserInput(ASF.EUserInputType inputType, string inputValue) { - if ((inputType == ASF.EUserInputType.Unknown) || !Enum.IsDefined(typeof(ASF.EUserInputType), inputValue) || string.IsNullOrEmpty(inputValue)) { + if ((inputType == ASF.EUserInputType.Unknown) || !Enum.IsDefined(typeof(ASF.EUserInputType), inputType) || string.IsNullOrEmpty(inputValue)) { ArchiLogger.LogNullError(nameof(inputType) + " || " + nameof(inputValue)); return;