mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 22:20:52 +00:00
Closes #1516
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user