3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-23 23:00:35 +01:00

Make sure to mark the in-flight connection.

Dieser Commit ist enthalten in:
Andrew Steinborn 2018-11-23 18:25:35 -05:00
Ursprung e2ad6b740a
Commit 436c1624bc

Datei anzeigen

@ -517,8 +517,12 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player {
return CompletableFuture
.completedFuture(ConnectionRequestResults.plainResult(lastCheck.get()));
}
return new VelocityServerConnection((VelocityRegisteredServer) rs,
ConnectedPlayer.this, server).connect();
VelocityRegisteredServer vrs = (VelocityRegisteredServer) rs;
VelocityServerConnection con = new VelocityServerConnection(vrs, ConnectedPlayer.this,
server);
connectionInFlight = con;
return con.connect();
});
}