mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Revert "Remove obsolete properties"
This reverts commit 5423596f1f.
I want to include this one for a while longer considering faster stable.
This commit is contained in:
@@ -224,6 +224,16 @@ namespace ArchiSteamFarm {
|
||||
}
|
||||
}
|
||||
|
||||
[JsonProperty]
|
||||
private string SteamParentalPIN {
|
||||
set {
|
||||
if (string.IsNullOrEmpty(value) || (value != "0")) {
|
||||
ASF.ArchiLogger.LogGenericWarning(string.Format(Strings.WarningDeprecated, nameof(SteamParentalPIN), nameof(SteamParentalCode)));
|
||||
SteamParentalCode = string.IsNullOrEmpty(value) ? "0" : value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
internal (bool Valid, string ErrorMessage) CheckValidation() {
|
||||
if (BotBehaviour > EBotBehaviour.All) {
|
||||
return (false, string.Format(Strings.ErrorConfigPropertyInvalid, nameof(BotBehaviour), BotBehaviour));
|
||||
|
||||
Reference in New Issue
Block a user