fix: Fixes crashing while trying to detect old clients (#1459)

This commit is contained in:
Kamron Batman 2023-08-16 00:20:26 -07:00 committed by GitHub
parent 1e422db9e8
commit 2eebf4f48d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 11 deletions

View file

@ -85,7 +85,7 @@ public class ClientVersion : IComparable<ClientVersion>, IComparer<ClientVersion
{
if (!char.IsWhiteSpace(fmt, br3))
{
Patch = fmt[br3] - 'a' + 1;
Patch = fmt[br3] - 'a';
}
}
else