This commit is contained in:
D1GQ committed 2024-08-04 03:53:55 -05:00
1 parent fa0e4aebda
commit 75e550fcca
1 file changed
+2 -2
+2 -2
View File
@@ -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");
}