3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-06 00:00:47 +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);
connectionInFlight = con;
return con.connect().whenCompleteAsync((result, throwable) ->
this.cleanupIfRequired(con));
this.cleanupIfRequired(con), connection.eventLoop());
}, connection.eventLoop());
});
}