mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Ignore Forge messages once Forge login is complete
In an attempt at fixing #117
This commit is contained in:
parent
a52fb61358
commit
b10e3e8521
1 changed files with 1 additions and 1 deletions
|
|
@ -308,7 +308,7 @@ namespace MinecraftClient.Protocol.Handlers
|
||||||
// The remaining data in the array is the entire payload of the packet.
|
// The remaining data in the array is the entire payload of the packet.
|
||||||
handler.OnPluginChannelMessage(channel, packetData.ToArray());
|
handler.OnPluginChannelMessage(channel, packetData.ToArray());
|
||||||
|
|
||||||
if (forgeInfo != null)
|
if (forgeInfo != null && fmlHandshakeState != FMLHandshakeClientState.DONE)
|
||||||
{
|
{
|
||||||
if (channel == "FML|HS")
|
if (channel == "FML|HS")
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue