mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
fix for T6 guid length including sign
This commit is contained in:
@ -268,7 +268,7 @@ namespace SharedLibraryCore
|
|||||||
str = str.Substring(0, Math.Min(str.Length, 16));
|
str = str.Substring(0, Math.Min(str.Length, 16));
|
||||||
long id;
|
long id;
|
||||||
|
|
||||||
if (str.Length <= 10)
|
if (str.Length <= 11) // 10 numeric characters + signed character
|
||||||
{
|
{
|
||||||
if (long.TryParse(str, NumberStyles.Integer, CultureInfo.InvariantCulture, out id))
|
if (long.TryParse(str, NumberStyles.Integer, CultureInfo.InvariantCulture, out id))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user