13
0
geforkt von Mirrors/Velocity

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());
}); });
} }