mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-06 17:10:13 +00:00
Closes #1516
This commit is contained in:
@@ -455,7 +455,7 @@ namespace ArchiSteamFarm {
|
|||||||
|
|
||||||
[PublicAPI]
|
[PublicAPI]
|
||||||
public void SetUserInput(ASF.EUserInputType inputType, string inputValue) {
|
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));
|
ArchiLogger.LogNullError(nameof(inputType) + " || " + nameof(inputValue));
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user