This commit is contained in:
JustArchi
2018-02-11 09:57:10 +01:00
parent c9b3b66959
commit d19a25df5f
2 changed files with 3 additions and 2 deletions

View File

@@ -105,7 +105,8 @@ namespace ArchiSteamFarm {
[JsonProperty(PropertyName = UlongStringPrefix + nameof(SteamOwnerID), Required = Required.DisallowNull)]
internal string SSteamOwnerID {
set {
get => SteamOwnerID.ToString();
private set {
if (string.IsNullOrEmpty(value) || !ulong.TryParse(value, out ulong result)) {
ASF.ArchiLogger.LogGenericError(string.Format(Strings.ErrorIsInvalid, nameof(SSteamOwnerID)));
return;