From 75e550fcca4582200df63b679ccd063368ce93b0 Mon Sep 17 00:00:00 2001 From: D1GQ Date: Sun, 4 Aug 2024 03:53:55 -0500 Subject: [PATCH] fix --- Modules/AntiCheat.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/AntiCheat.cs b/Modules/AntiCheat.cs index 6f446a6..74548c2 100644 --- a/Modules/AntiCheat.cs +++ b/Modules/AntiCheat.cs @@ -96,7 +96,7 @@ class AntiCheat { if (__instance.Platform is Platforms.StandaloneWin10 or Platforms.Xbox) { - if (__instance.XboxPlatformId.ToString().Length < 16) + if (__instance.XboxPlatformId.ToString().Length is < 16 or > 17) { BetterNotificationManager.NotifyCheat(player, $"Platform Spoofer", newText: "Has been detected with a cheat"); } @@ -104,7 +104,7 @@ class AntiCheat if (__instance.Platform is Platforms.Playstation) { - if (__instance.PsnPlatformId.ToString().Length < 19) + if (__instance.PsnPlatformId.ToString().Length is < 19 or > 20) { BetterNotificationManager.NotifyCheat(player, $"Platform Spoofer", newText: "Has been detected with a cheat"); }