mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Move the patch into the fml override handler, for less patch
This commit is contained in:
1 parent
301d4b9fa0
commit
98f606d4d2
2 files changed
+8
-14
No files matched your search
@@ -189,6 +189,8 @@ public class NetworkDispatcher extends SimpleChannelInboundHandler<Packet> imple
|
||||
{
|
||||
completeServerSideConnection(ConnectionType.MODDED);
|
||||
}
|
||||
// FORGE: sometimes the netqueue will tick while login is occuring, causing an NPE. We shouldn't tick until the connection is complete
|
||||
if (this.playerEntity.playerNetServerHandler != this) return;
|
||||
super.update();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user