From bab8a0f10bb12e62be7daa6e6061e551e3d6275c Mon Sep 17 00:00:00 2001 From: FeTetra <166051662+FeTetra@users.noreply.github.com> Date: Mon, 26 May 2025 08:06:38 -0400 Subject: [PATCH] Fix logic error oopsie --- ProjectLighthouse.Servers.GameServer/Helpers/PatchworkHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectLighthouse.Servers.GameServer/Helpers/PatchworkHelper.cs b/ProjectLighthouse.Servers.GameServer/Helpers/PatchworkHelper.cs index 4a5eaa8f..25dfceac 100644 --- a/ProjectLighthouse.Servers.GameServer/Helpers/PatchworkHelper.cs +++ b/ProjectLighthouse.Servers.GameServer/Helpers/PatchworkHelper.cs @@ -30,7 +30,7 @@ public static class PatchworkHelper if (numericVersion == 0) return false; - if (numericVersion - 1 != (int)token.GameVersion && !Enum.IsDefined(typeof(GameVersion), numericVersion)) + if (numericVersion - 1 != (int)token.GameVersion && !Enum.IsDefined(typeof(GameVersion), numericVersion - 1)) return false; string[] patchworkVer = userAgent.Split(' ')[1].Split('.');