This commit is contained in:
JustArchi 2022-07-21 16:50:15 +02:00
parent 70fe873eaf
commit 1dc2b1e06e
No known key found for this signature in database
GPG key ID: 6B138B4C64555AEA

View file

@ -87,7 +87,7 @@ public static class ASF {
[PublicAPI]
public static bool IsOwner(ulong steamID) {
if (steamID == 0) {
if ((steamID == 0) || !new SteamID(steamID).IsIndividualAccount) {
throw new ArgumentOutOfRangeException(nameof(steamID));
}