We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e57558 commit 017c5ebCopy full SHA for 017c5eb
ArchiSteamFarm/ArchiWebHandler.cs
@@ -69,12 +69,7 @@ private static uint GetAppIDFromMarketHashName(string hashName) {
69
}
70
71
uint appID;
72
- if (uint.TryParse(hashName.Substring(0, index), out appID)) {
73
- return appID;
74
- }
75
-
76
- Logging.LogNullError(nameof(appID));
77
- return 0;
+ return uint.TryParse(hashName.Substring(0, index), out appID) ? appID : 0;
78
79
80
private static Steam.Item.EType GetItemType(string name) {
0 commit comments