This commit is contained in:
D1GQ committed 2025-03-24 03:50:31 -05:00
1 parent 1e8a7290b3
commit 561fc62826
1 file changed
+1 -1
@@ -30,7 +30,7 @@ internal sealed class SetLevelHandler : RPCHandler
{
uint level = reader.ReadPackedUInt32();
if (level + 1 > BetterGameSettings.DetectedLevelAbove.GetInt())
if (level > BetterGameSettings.DetectedLevelAbove.GetInt())
{
BetterNotificationManager.NotifyCheat(sender, string.Format(Translator.GetString("AntiCheat.InvalidLevelRPC"), level));
LogRpcInfo($"{level > BetterGameSettings.DetectedLevelAbove.GetInt()} - {level} > {BetterGameSettings.DetectedLevelAbove.GetInt()}");