Ignore Forge messages once Forge login is complete

In an attempt at fixing #117
This commit is contained in:
ORelio 2016-02-27 18:01:52 +01:00
parent a52fb61358
commit b10e3e8521

View file

@ -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")
{