From 8be66daab1827ca5049a73cc6f1b7d77e566cc57 Mon Sep 17 00:00:00 2001 From: oldkingOK Date: Tue, 20 Feb 2024 22:23:46 +0800 Subject: [PATCH] fix(Protocol18Forge.cs): Version bigger or equal 1.18 is FML3 --- MinecraftClient/Protocol/Handlers/Protocol18Forge.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MinecraftClient/Protocol/Handlers/Protocol18Forge.cs b/MinecraftClient/Protocol/Handlers/Protocol18Forge.cs index f19c196e..cbda452b 100644 --- a/MinecraftClient/Protocol/Handlers/Protocol18Forge.cs +++ b/MinecraftClient/Protocol/Handlers/Protocol18Forge.cs @@ -514,7 +514,7 @@ namespace MinecraftClient.Protocol.Handlers { if (ServerMayForceForge(protocolVersion)) { - if (protocolVersion > ProtocolHandler.MCVer2ProtocolVersion("1.18")) + if (protocolVersion >= ProtocolHandler.MCVer2ProtocolVersion("1.18")) { return new ForgeInfo(FMLVersion.FML3); }