From b10e3e8521203476760b972ecea88fe2694b7fee Mon Sep 17 00:00:00 2001 From: ORelio Date: Sat, 27 Feb 2016 18:01:52 +0100 Subject: [PATCH] Ignore Forge messages once Forge login is complete In an attempt at fixing #117 --- MinecraftClient/Protocol/Handlers/Protocol18.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MinecraftClient/Protocol/Handlers/Protocol18.cs b/MinecraftClient/Protocol/Handlers/Protocol18.cs index 3601b052..bd8af932 100644 --- a/MinecraftClient/Protocol/Handlers/Protocol18.cs +++ b/MinecraftClient/Protocol/Handlers/Protocol18.cs @@ -308,7 +308,7 @@ namespace MinecraftClient.Protocol.Handlers // The remaining data in the array is the entire payload of the packet. handler.OnPluginChannelMessage(channel, packetData.ToArray()); - if (forgeInfo != null) + if (forgeInfo != null && fmlHandshakeState != FMLHandshakeClientState.DONE) { if (channel == "FML|HS") {