Move the patch into the fml override handler, for less patch

This commit is contained in:
cpw committed 2016-03-09 20:08:24 -05:00
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();
}
};