mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-23 13:41:31 +00:00
Fix logic error
oopsie
This commit is contained in:
parent
b77b7b3fb9
commit
bab8a0f10b
1 changed files with 1 additions and 1 deletions
|
@ -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('.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue