13
0
geforkt von Mirrors/Velocity

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 return CompletableFuture
.completedFuture(ConnectionRequestResults.plainResult(lastCheck.get())); .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();
}); });
} }