fix(Protocol18Forge.cs): Version bigger or equal 1.18 is FML3

This commit is contained in:
oldkingOK 2024-02-20 22:23:46 +08:00
parent 092854532a
commit 8be66daab1

View file

@ -514,7 +514,7 @@ namespace MinecraftClient.Protocol.Handlers
{ {
if (ServerMayForceForge(protocolVersion)) if (ServerMayForceForge(protocolVersion))
{ {
if (protocolVersion > ProtocolHandler.MCVer2ProtocolVersion("1.18")) if (protocolVersion >= ProtocolHandler.MCVer2ProtocolVersion("1.18"))
{ {
return new ForgeInfo(FMLVersion.FML3); return new ForgeInfo(FMLVersion.FML3);
} }