Fix race condition causing the FML handshake to hang (#5222)
This commit is contained in:
parent
76d912c0ba
commit
e1b4a150c3
1 changed files with 1 additions and 1 deletions
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue