This commit is contained in:
Dawid Bepierszcz
2024-02-20 01:28:25 +01:00
parent a6821b85b4
commit 02208095f0
8 changed files with 134 additions and 63 deletions

View File

@@ -87,7 +87,7 @@ namespace WeaponPaints
if (player is null) return false;
return (player is not null && player.IsValid && !player.IsBot && !player.IsHLTV
&& WeaponPaints.weaponSync != null && player.Connected == PlayerConnectedState.PlayerConnected);
&& WeaponPaints.weaponSync != null && player.Connected == PlayerConnectedState.PlayerConnected && player.SteamID.ToString().Length == 17);
}
internal static void LoadSkinsFromFile(string filePath)