3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-16 21:10:30 +01:00

Fix try list giving up after the first server (for 1.0.x).

Dieser Commit ist enthalten in:
Andrew Steinborn 2020-08-22 13:37:57 -04:00
Ursprung 79b16a21f6
Commit b85f919238

Datei anzeigen

@ -448,9 +448,7 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player {
createConnectionRequest(res.getServer())
.connectWithIndication()
.whenCompleteAsync((newResult, exception) -> {
if (newResult == null || !newResult) {
disconnect(friendlyReason);
} else {
if (newResult != null && newResult) {
sendMessage(VelocityMessages.MOVED_TO_NEW_SERVER);
}
}, minecraftConnection.eventLoop());