Skip to content

Commit

Permalink
Fix incorrect enum
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxWasUnavailable authored Feb 18, 2024
1 parent fe6f19a commit 382169c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LobbyCompatibility/Features/PluginHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ internal static bool MatchesTargetRequirements(IEnumerable<PluginInfoRecord> tar
internal static bool CanJoinVanillaLobbies()
{
return GetAllPluginInfo().All(plugin =>
plugin.CompatibilityLevel != CompatibilityLevel.ServerOnly &&
plugin.CompatibilityLevel != CompatibilityLevel.Everyone &&
plugin.CompatibilityLevel != CompatibilityLevel.ClientOptional);
}

Expand Down Expand Up @@ -275,4 +275,4 @@ private static string GetRequiredPluginsChecksum()

return _cachedChecksum = stringBuilder.ToString();
}
}
}

0 comments on commit 382169c

Please sign in to comment.