mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-07 21:58:06 -05:00
fix persistent id parsing for low bits with leading 0s
This commit is contained in:
parent
27a9a2eebf
commit
83f80b4fd2
@ -878,7 +878,7 @@ namespace IW4MAdmin.Application
|
||||
if (parts.Length == 2 && int.TryParse(parts[0], out var high) &&
|
||||
int.TryParse(parts[1], out var low))
|
||||
{
|
||||
var guid = long.Parse(high.ToString("X") + low.ToString("X"), NumberStyles.HexNumber);
|
||||
var guid = long.Parse(high.ToString("X8") + low.ToString("X8"), NumberStyles.HexNumber);
|
||||
|
||||
var penalties = await PenaltySvc
|
||||
.GetActivePenaltiesByIdentifier(null, guid, receiveEvent.Client.GameName);
|
||||
|
Loading…
x
Reference in New Issue
Block a user