while (retries > 0 && preparation.loginPackets[1] == false && preparation.cancelReason == null) {
OpenConnectionRequestTwo connectionRequestTwo = new OpenConnectionRequestTwo();
connectionRequestTwo.clientGuid = this.guid;
connectionRequestTwo.address = preparation.address;
connectionRequestTwo.maximumTransferUnit = preparation.maximumTransferUnit;
<BUG>connectionRequestTwo.encode();
this.sendRawMessage(connectionRequestTwo, address);
RakNetUtils.threadLock(500);
}</BUG>
if (preparation.loginPackets[1] == false && preparation.cancelReason == null) {

while (retries > 0 && preparation.loginPackets[1] == false && preparation.cancelReason == null) {
OpenConnectionRequestTwo connectionRequestTwo = new OpenConnectionRequestTwo();
connectionRequestTwo.clientGuid = this.guid;
connectionRequestTwo.address = preparation.address;
connectionRequestTwo.maximumTransferUnit = preparation.maximumTransferUnit;
connectionRequestTwo.encode();
if (!connectionRequestTwo.failed()) {
this.sendRawMessage(connectionRequestTwo, address);
RakNetUtils.threadLock(500);
} else {
preparation.cancelReason = new PacketBufferException(connectionRequestTwo);
}
}
if (preparation.loginPackets[1] == false && preparation.cancelReason == null) {
