mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-05 00:20:08 +00:00
And make 0 not acceptable
This commit is contained in:
@@ -456,7 +456,7 @@ namespace ArchiSteamFarm {
|
||||
}
|
||||
|
||||
byte cardsRemaining;
|
||||
if (!byte.TryParse(progressMatch.Value, out cardsRemaining)) {
|
||||
if (!byte.TryParse(progressMatch.Value, out cardsRemaining) || (cardsRemaining == 0)) {
|
||||
Logging.LogNullError(nameof(cardsRemaining), Bot.BotName);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user