mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Fix race condition causing the FML handshake to hang (#5222)
This commit is contained in:
1 parent
76d912c0ba
commit
e1b4a150c3
1 file changed
+1
-1
@@ -242,8 +242,8 @@ public class FMLHandshakeHandler {
|
||||
NetworkRegistry.LoginPayload message = messageList.get(packetPosition);
|
||||
|
||||
LOGGER.debug(FMLHSMARKER, "Sending ticking packet info '{}' to '{}' sequence {}", message.getMessageContext(), message.getChannelName(), packetPosition);
|
||||
loginWrapper.sendServerToClientLoginPacket(message.getChannelName(), message.getData(), packetPosition, this.manager);
|
||||
sentMessages.add(packetPosition);
|
||||
loginWrapper.sendServerToClientLoginPacket(message.getChannelName(), message.getData(), packetPosition, this.manager);
|
||||
packetPosition++;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user