mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-05 00:20:08 +00:00
Misc
This commit is contained in:
@@ -145,6 +145,12 @@ namespace ArchiSteamFarm.Storage {
|
||||
throw new ArgumentNullException(nameof(value));
|
||||
}
|
||||
|
||||
if (value.Type == JTokenType.Null) {
|
||||
DeleteFromJsonStorage(key);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if (KeyValueJsonStorage.TryGetValue(key, out JToken? currentValue) && JToken.DeepEquals(currentValue, value)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user