mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Compleetly skip FML handshake for Vanilla connections. Should fix race condition. Closes #3084
This commit is contained in:
1 parent
69af6a9b8c
commit
62ec59103a
1 file changed
+1
-1
+1
-1
@@ -147,12 +147,12 @@ public class NetworkDispatcher extends SimpleChannelInboundHandler<Packet<?>> im
|
||||
public void serverToClientHandshake(EntityPlayerMP player)
|
||||
{
|
||||
this.player = player;
|
||||
insertIntoChannel();
|
||||
Boolean fml = this.manager.channel().attr(NetworkRegistry.FML_MARKER).get();
|
||||
if (fml != null && fml)
|
||||
{
|
||||
//FML on client, send server hello
|
||||
//TODO: Make this cleaner as it uses netty magic 0.o
|
||||
insertIntoChannel();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user