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

Make sure this runs on the event loop.

Dieser Commit ist enthalten in:
Andrew Steinborn 2020-05-25 12:08:24 -04:00
Ursprung 942e2f2e1a
Commit ec1fc3944d

Datei anzeigen

@ -758,7 +758,7 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player {
ConnectedPlayer.this, server); ConnectedPlayer.this, server);
connectionInFlight = con; connectionInFlight = con;
return con.connect().whenCompleteAsync((result, throwable) -> return con.connect().whenCompleteAsync((result, throwable) ->
this.cleanupIfRequired(con)); this.cleanupIfRequired(con), connection.eventLoop());
}, connection.eventLoop()); }, connection.eventLoop());
}); });
} }