mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 15:14:41 +00:00
Fix possibility of package having no appIDs
This commit is contained in:
parent
2a43a87e08
commit
0d8753f44e
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ namespace ArchiSteamFarm.OfficialPlugins.SteamTokenDumper {
|
||||||
HashSet<uint> appIDsToRefresh = new HashSet<uint>();
|
HashSet<uint> appIDsToRefresh = new HashSet<uint>();
|
||||||
|
|
||||||
foreach (uint packageID in packageIDs) {
|
foreach (uint packageID in packageIDs) {
|
||||||
if (!ASF.GlobalDatabase.PackagesDataReadOnly.TryGetValue(packageID, out (uint ChangeNumber, HashSet<uint> AppIDs) packageData)) {
|
if (!ASF.GlobalDatabase.PackagesDataReadOnly.TryGetValue(packageID, out (uint ChangeNumber, HashSet<uint> AppIDs) packageData) || (packageData.AppIDs == null)) {
|
||||||
// ASF might not have the package info for us at the moment, we'll retry later
|
// ASF might not have the package info for us at the moment, we'll retry later
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue