mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-10-20 01:46:19 +00:00
fix
This commit is contained in:
1 parent
fa0e4aebda
commit
75e550fcca
1 file changed
+2
-2
@@ -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");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user