From 6dd003d04cd9cb4680771b1f31af971f4251a839 Mon Sep 17 00:00:00 2001 From: ORelio Date: Thu, 29 Oct 2015 18:28:46 +0100 Subject: [PATCH] Disable Forge when no mods are installed When no mods are installed, FML client/server will skip mod negociation phase and act as a vanilla client/server. MCC should do the same else login will not work properly. See #100 : Forge Support --- MinecraftClient/Program.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MinecraftClient/Program.cs b/MinecraftClient/Program.cs index 302e50bb..9e447531 100644 --- a/MinecraftClient/Program.cs +++ b/MinecraftClient/Program.cs @@ -175,6 +175,11 @@ namespace MinecraftClient } } + if (forgeInfo != null && !forgeInfo.Mods.Any()) + { + forgeInfo = null; + } + if (protocolversion != 0) { try