Add more steam id checks

This commit is contained in:
Liam 2022-10-19 17:47:54 +01:00
parent 864fdf4305
commit 34dc9e9dbb

View File

@ -27,6 +27,9 @@ export default class Utils {
if (!steamId) {
return false;
}
if (steamId.length !== 17) {
return false;
}
if (SteamIdCache.has(steamId)) {
return SteamIdCache.get(steamId);